implement healthcheck

This commit is contained in:
2026-02-04 20:30:37 +01:00
parent 3bebea717d
commit eadd23aee1
2 changed files with 8 additions and 0 deletions

View File

@@ -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