switch healthcheck test to pidof
This commit is contained in:
parent
2e4d381835
commit
d5c34360aa
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ services:
|
||||||
limits:
|
limits:
|
||||||
memory: 512M
|
memory: 512M
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:80"]
|
test: ["CMD", "pidof", "caddy"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue