diff --git a/spire/templates/apps/dovetail-spots.yml b/spire/templates/apps/dovetail-spots.yml index 2108df58..04933aa9 100644 --- a/spire/templates/apps/dovetail-spots.yml +++ b/spire/templates/apps/dovetail-spots.yml @@ -313,6 +313,12 @@ Resources: - Name: SPOTS_HOST Value: !Ref SpotsHostname Essential: true + HealthCheck: + Command: ["CMD-SHELL", "pgrep puma"] + Interval: 30 + Retries: 3 + StartPeriod: 15 + Timeout: 5 Image: !Sub ${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/${EcrImageTag} LinuxParameters: InitProcessEnabled: true @@ -440,6 +446,12 @@ Resources: - Name: SPOTS_HOST Value: !Ref SpotsHostname Essential: true + HealthCheck: + Command: ["CMD-SHELL", "pgrep solid-queue"] + Interval: 30 + Retries: 3 + StartPeriod: 15 + Timeout: 5 Image: !Sub ${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/${EcrImageTag} LinuxParameters: InitProcessEnabled: true