switch healthcheck test to pidof

This commit is contained in:
TheMaddax 2024-11-30 19:48:35 -06:00
parent 2e4d381835
commit d5c34360aa

View file

@ -20,7 +20,7 @@ services:
limits:
memory: 512M
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80"]
test: ["CMD", "pidof", "caddy"]
interval: 30s
timeout: 10s
retries: 3