Skip to content

Commit

Permalink
Wait for web service to run database init/migration
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaswittig committed Apr 17, 2024
1 parent 64fa907 commit 502e832
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mastodon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ Resources:
ExecuteCommand: true
TemplateURL: './node_modules/@cfn-modules/fargate-service/module.yml'
StreamingApiService:
DependsOn:
- WebService
Type: 'AWS::CloudFormation::Stack'
Properties:
Parameters:
Expand Down Expand Up @@ -296,6 +298,8 @@ Resources:
ExecuteCommand: true
TemplateURL: './node_modules/@cfn-modules/fargate-service/module.yml'
SidekiqService:
DependsOn:
- WebService
Type: 'AWS::CloudFormation::Stack'
Properties:
Parameters:
Expand Down Expand Up @@ -367,6 +371,8 @@ Resources:
ExecuteCommand: true
TemplateURL: './node_modules/@cfn-modules/fargate-service/module.yml'
ScheduledTask:
DependsOn:
- WebService
Type: 'AWS::CloudFormation::Stack'
Properties:
Parameters:
Expand Down

0 comments on commit 502e832

Please sign in to comment.