You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
This is a bit more complicated. Durations needs to be mapped to seconds, the
test
property needs to be restricted to something mappable.docker-compose.yml sample:
sloppy.yml sample:
interval
as duration tointerval
in secondstimeout
as duration totimeout
in secondsstart_period
as duration tograce_period_seconds
in secondsretries
tomax_consecutive_failures
(I guess)test
somehow totype
and, optionally,path
sloppy.io health checks can be of
type: "HTTP"
, along with apath
property, ortype: "TCP"
, without an additional property.A potential heuristic: Check if
test
contains a URL and use the path (if none, use/
) for a HTTP type check. If there is no URL, use TCP.This
would map to
See https://docs.docker.com/compose/compose-file/#healthcheck and https://kb.sloppy.io/features/health-checks
Definitely lower priority than everything else.
The text was updated successfully, but these errors were encountered: