Closed IgnisDa closed 1 year ago
Commands are allowed in healthchecks under 0.31.x. The example only shows a simple web check.
Docs might be wrong though, seems it should be a list: https://github.com/dokku/docker-container-healthchecker/blob/master/tests/fixtures/app.json#L25-L27
Unrelated, but is it possible to get the output of a command based healthcheck?
Output is only shown on error.
Its not for me
using version 0.6.4
.
Mind filing a bug for that?
Description of feature
Looking at options in https://dokku.com/docs/deployment/zero-downtime-deploys/#customizing-checks, I think commands are not allowed as healthchecks.
I am using an image that has a command
is_ready
(much likepg_isready
) that returns a non-zero exit status if the service is not ready. I would like to use this instead of a web based check for my service.