From abbb662dbe741181aa956f252b104d5eaf127989 Mon Sep 17 00:00:00 2001 From: Dale Evans Date: Tue, 10 Aug 2021 17:45:22 +0000 Subject: [PATCH] update cloudformation template to modify the sample env file, now that all the config params are stored in environment variables as per commit 57286362ce7545d469e110c20b0016387ee25abe --- template.aws.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/template.aws.yaml b/template.aws.yaml index 37ec1b3b..406e11e6 100644 --- a/template.aws.yaml +++ b/template.aws.yaml @@ -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