Add health / loadbalancer endpoints for Mozilla Dockerflow #1443
Labels
backend
Related to backend code
devops
Related to deployment or configuration
effort:medium
Likely a day or two
enhancement
New feature or request
priority:low
Backlog of tasks that will be addressed in time
Milestone
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
/app
dir inside container./app/version.json
should be generated within the CI workflow and baked into the built image:/__version__
with the contents of /app/version.json./__heartbeat__
with a HTTP 200 or 5xx on error. This should check backing services like a database for connectivity and may respond with the status of backing services and application components as a JSON payload./__lbheartbeat__
with an HTTP 200. This is for load balancer checks and should not check backing services.Describe alternatives you've considered
I don't know any other good specs for this.
The text was updated successfully, but these errors were encountered: