We should be able to fetch healthcheck config from docker labels in addition to a config.
To use labels, the flag --label-config must be passed (otherwise we default to using app.json).
Each label can have a configurable label prefix, default of healthchecks.dokku.com/. As we can have 1 or more healthchecks, each healthcheck is numbered, 0-indexed, with keys being the same as in the json file.
Description of feature
We should be able to fetch healthcheck config from docker labels in addition to a config.
To use labels, the flag
--label-config
must be passed (otherwise we default to usingapp.json
).Each label can have a configurable label prefix, default of
healthchecks.dokku.com/
. As we can have 1 or more healthchecks, each healthcheck is numbered, 0-indexed, with keys being the same as in the json file.Example:
All label values should be json-encoded.