Skip to content

Commit 2aed7a0

Browse files
authored
Add healthcheck to augury ecs tasks (#878)
* Add healthcheck to augury ecs tasks * Ensure return pattern
1 parent 1e3e308 commit 2aed7a0

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

spire/templates/apps/augury.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,14 @@ Resources:
460460
- Name: SLACK_CHANNEL_ID
461461
Value: C06E86HT0ER
462462
Essential: true
463+
HealthCheck:
464+
Command:
465+
- CMD-SHELL
466+
- ./bin/docker-health-check && exit 0 || exit 1
467+
Interval: 10
468+
Retries: 3
469+
StartPeriod: 60
470+
Timeout: 5
463471
Image: !Sub ${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/${EcrImageTag}
464472
LinuxParameters:
465473
InitProcessEnabled: true
@@ -619,6 +627,14 @@ Resources:
619627
- Name: SLACK_CHANNEL_ID
620628
Value: C06E86HT0ER
621629
Essential: true
630+
HealthCheck:
631+
Command:
632+
- CMD-SHELL
633+
- ./bin/docker-health-check && exit 0 || exit 1
634+
Interval: 10
635+
Retries: 3
636+
StartPeriod: 60
637+
Timeout: 5
622638
Image: !Sub ${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/${EcrImageTag}
623639
LinuxParameters:
624640
InitProcessEnabled: true
@@ -1037,6 +1053,14 @@ Resources:
10371053
- Name: SLACK_CHANNEL_ID
10381054
Value: C06E86HT0ER
10391055
Essential: true
1056+
HealthCheck:
1057+
Command:
1058+
- CMD-SHELL
1059+
- ./bin/docker-health-check && exit 0 || exit 1
1060+
Interval: 10
1061+
Retries: 3
1062+
StartPeriod: 60
1063+
Timeout: 5
10401064
Image: !Sub ${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/${EcrImageTag}
10411065
LinuxParameters:
10421066
InitProcessEnabled: true

0 commit comments

Comments
 (0)