|
@ -103,17 +103,21 @@ Resources: |
|
|
- !Ref FromEmail |
|
|
- !Ref FromEmail |
|
|
- |+ |
|
|
- |+ |
|
|
|
|
|
|
|
|
- | |
|
|
|
|
|
sudo docker pull doccano/doccano:latest |
|
|
|
|
|
|
|
|
- sudo tee -a /env.list <<< DOCKER_IMAGE= |
|
|
|
|
|
- !Ref DockerImageName |
|
|
|
|
|
- |+ |
|
|
|
|
|
|
|
|
- | |
|
|
- | |
|
|
set -a |
|
|
set -a |
|
|
- | |
|
|
- | |
|
|
source /env.list |
|
|
source /env.list |
|
|
- | |
|
|
- | |
|
|
set +a |
|
|
set +a |
|
|
|
|
|
- | |
|
|
|
|
|
sudo docker pull ${DOCKER_IMAGE} |
|
|
- > |
|
|
- > |
|
|
sudo docker run -d --name doccano --env-file /env.list -p 80:8000 |
|
|
sudo docker run -d --name doccano --env-file /env.list -p 80:8000 |
|
|
doccano/doccano:latest |
|
|
|
|
|
|
|
|
${DOCKER_IMAGE} |
|
|
- > |
|
|
- > |
|
|
sudo docker exec doccano tools/create-admin.sh ${ADMIN} ${EMAIL} |
|
|
sudo docker exec doccano tools/create-admin.sh ${ADMIN} ${EMAIL} |
|
|
${PASSWORD} |
|
|
${PASSWORD} |
|
@ -295,6 +299,11 @@ Parameters: |
|
|
Description: The email used to send from singup messages |
|
|
Description: The email used to send from singup messages |
|
|
Type: String |
|
|
Type: String |
|
|
AllowedPattern: '^[\x20-\x45]?[\w-\+]+(\.[\w]+)*@[\w-]+(\.[\w]+)*(\.[a-z]{2,})?$' |
|
|
AllowedPattern: '^[\x20-\x45]?[\w-\+]+(\.[\w]+)*@[\w-]+(\.[\w]+)*(\.[a-z]{2,})?$' |
|
|
|
|
|
DockerImageName: |
|
|
|
|
|
Default: doccano/doccano:latest |
|
|
|
|
|
Description: The Docker image name |
|
|
|
|
|
Type: String |
|
|
|
|
|
AllowedPattern: '^[\w_-]+/[\w_-]+:[\w_-]+$' |
|
|
Outputs: |
|
|
Outputs: |
|
|
PublicDNS: |
|
|
PublicDNS: |
|
|
Value: !GetAtt |
|
|
Value: !GetAtt |
|
|