implement healthcheck
This commit is contained in:
@@ -13,3 +13,8 @@ services:
|
||||
network_mode: host
|
||||
extra_hosts:
|
||||
- "host:${HOST_IP}"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "find /tmp/healthy -mmin -11 | grep -q . || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user