towards healthchecks for all containers
This commit is contained in:
@@ -25,3 +25,8 @@ services:
|
||||
- /opt/caddy/logs:/var/log
|
||||
extra_hosts:
|
||||
- "host:${HOST_IP}"
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--spider", "http://localhost:2019/metrics"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user