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:
|
||||
memory: 512M
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:80"]
|
||||
test: ["CMD", "pidof", "caddy"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue