Skip to content

Commit

Permalink
update cloudformation template to modify the sample env file, now that
Browse files Browse the repository at this point in the history
all the config params are stored in environment variables as per commit
5728636
  • Loading branch information
daleevans committed Aug 10, 2021
1 parent 3bf91c1 commit abbb662
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions template.aws.yaml
Expand Up @@ -143,8 +143,9 @@ Resources:
yum install -y git
git clone https://github.com/doccano/doccano.git
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
Tags:
- Key: Name
Expand Down

0 comments on commit abbb662

Please sign in to comment.