Time between running the check (ms|s|m|h). Defaults to 0s.
0s
Consecutive failures needed to report unhealthy. Defaults to 0.
0
Interval before the healthcheck starts (ms|s|m|h). Defaults to 0s.
Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to 0s.
Command to run to check health. For example, to run curl -f localhost/health set the command to be ["CMD", "curl", "-f", "localhost/health"].
curl -f localhost/health
["CMD", "curl", "-f", "localhost/health"]
Maximum time to allow one check to run (ms|s|m|h). Defaults to 0s.