Skip to content

Commit

Permalink
fix: fix error in stack file
Browse files Browse the repository at this point in the history
  • Loading branch information
briancaffey committed Nov 26, 2021
1 parent 0ef7752 commit 32d6a22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/docker-ec2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ docker stack deploy -c stack.yml stack
init.addConfigSet('application', [
'install_docker',
'install_compose',
'config_application',
'install_application',
]);

Expand Down Expand Up @@ -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,
},
});
Expand Down
3 changes: 2 additions & 1 deletion src/files/stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 32d6a22

Please sign in to comment.