diff --git a/.aws/task-definition-dev.json b/.aws/task-definition-dev.json index 486d75e..55ecca4 100644 --- a/.aws/task-definition-dev.json +++ b/.aws/task-definition-dev.json @@ -14,6 +14,16 @@ "appProtocol": "http" } ], + "healthCheck": { + "retries": 3, + "command": [ + "CMD-SHELL", + "curl -f http://localhost:8080/api/v1/health-check || exit 1" + ], + "timeout": 5, + "interval": 30, + "startPeriod": null + }, "essential": true, "environment": [], "environmentFiles": [],