From 32d6a22a6d2e3a77beaf28f2337037ccc768c90b Mon Sep 17 00:00:00 2001 From: Brian Caffey Date: Fri, 26 Nov 2021 18:42:29 -0500 Subject: [PATCH] fix: fix error in stack file --- src/docker-ec2.ts | 3 ++- src/files/stack.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/docker-ec2.ts b/src/docker-ec2.ts index e689e91..7c3a992 100644 --- a/src/docker-ec2.ts +++ b/src/docker-ec2.ts @@ -214,6 +214,7 @@ docker stack deploy -c stack.yml stack init.addConfigSet('application', [ 'install_docker', 'install_compose', + 'config_application', 'install_application', ]); @@ -246,7 +247,7 @@ docker stack deploy -c stack.yml stack init, initOptions: { configSets: ['application'], - timeout: cdk.Duration.minutes(5), + timeout: cdk.Duration.minutes(20), includeUrl: true, }, }); diff --git a/src/files/stack.yml b/src/files/stack.yml index 8a274f2..a0bbfc7 100644 --- a/src/files/stack.yml +++ b/src/files/stack.yml @@ -56,7 +56,8 @@ services: - "traefik.http.services.redirect-service.loadbalancer.server.port=80" - "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https" - backend: + backend: &backend + image: ${IMAGE_URI} command: - "gunicorn" - "-t"