Add healthcheck script for ECS container health checks#1844
Add healthcheck script for ECS container health checks#1844
Conversation
3802b6f to
5e6c19e
Compare
|
🎉 A review copy of this PR has been deployed! It is made of up two components Important Not all of the functionality of forms-runner is present in review apps. You should use the full dev environment to test the functionality which is disabled here. It may take 5 minutes or so for the application to be fully deployed and working. If it still isn't ready For the sign in details and more information, see the review apps wiki page. |
c35a277 to
7a5d683
Compare
This calls the Rails /up endpoint to verify the application is running. Also, use this new healthcheck script in the review app task definition
7a5d683 to
f7ac6b1
Compare
|



What problem does this pull request solve?
Trello card:
Now we sometimes have a sidecar running in the task (AWS ADOT), the ecs task health status is determined by the state of the sidecar, not the state of the main container.
This healthcheck script allows us to configure the healthcheck on the app task to explicitly determine whether the app container is healthy, too.
example config:
Things to consider when reviewing