kamal: curl removed from healthcheck -- breaking all new deploys
reverting to version 0.12.0 does not fix
reverting to version 0.11.0 fixes it
Seems like healthcheck uses curl and removing it from the container doing the healthcheck is breaking things.
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 1
- Comments: 15 (2 by maintainers)
I recommend 1.
Add curl exactly here and it will work.
https://gist.github.com/PabloC/085024b94c58f473ea6c983231705421#file-gistfile1-txt-L66
Can you confirm curl installed in your container? Seems like you still didn’t install.
@34code, @giedriusr - since version 0.12.0, mrsk uses docker healthchecks to wait for the container to become healthy.
The check to run is passed via the –health-cmd option to docker run.
This allows Traefik to monitor the status of the container and wait for it to report that it is healthy.
The effect of all of this is that the healthcheck command is now run by docker inside the container and not by mrsk from the host VM. The default healthcheck command uses curl to check if the app is up.
So you should either:
The error is
curl not foundand results in healthcheck failinghttps://en.wikipedia.org/wiki/Up_to_eleven
The power of 11 !!