# healthcheck
state: healthy
test: [CMD curl -fsS -o /dev/null http://127.0.0.1:8080/] interval=30s start_period=30s
## the tool the healthcheck uses, inside the image:
/usr/bin/curl
## negative control — the probe against a port nothing serves:
curl: (7) Failed to connect to 127.0.0.1:9999 after 0 ms: Could not connect to server
000
curl exit: 7
