Browse Source
Merge pull request #1469 from daleevans/master
update cloudformation template to modify the sample env file
pull/1520/head
Hiroki Nakayama
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
2 deletions
-
template.aws.yaml
|
@ -143,8 +143,9 @@ Resources: |
|
|
yum install -y git |
|
|
yum install -y git |
|
|
git clone https://github.com/doccano/doccano.git |
|
|
git clone https://github.com/doccano/doccano.git |
|
|
cd doccano |
|
|
cd doccano |
|
|
sed -i s/"admin"/${Username}/g docker-compose.prod.yml |
|
|
|
|
|
sed -i s/"password"/${Password}/g docker-compose.prod.yml |
|
|
|
|
|
|
|
|
cp config/.env.example .env |
|
|
|
|
|
sed -i s/admin/${Username}/g .env |
|
|
|
|
|
sed -i s/password/${Password}/g .env |
|
|
docker-compose -f docker-compose.prod.yml up -d |
|
|
docker-compose -f docker-compose.prod.yml up -d |
|
|
Tags: |
|
|
Tags: |
|
|
- Key: Name |
|
|
- Key: Name |
|
|