Add a HEALTHCHECK to Dockerfile
Open
Nobody has claimed this yet.
- Dominant language
- Elixir
- Stars
- 296
- Forks
- 86
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 50
Description
Details
All docker deployments should have heath checks built in, right now we have to specify the health check via the compose file.
Eg:
healthcheck:
test: ["CMD", "curl", "--fail", "localhost:4000/health_check"]
interval: 30s
timeout: 10s
retries: 5
User acceptance criteria
Running the image without specifying the heath check should work automagically.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the repository's Dockerfile and the existing compose-file healthcheck configuration. Run the image without an explicitly configured healthcheck and verify that the health endpoint is checked automatically, matching the acceptance criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, elixir
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100