diff --git a/Uptime-Kuma/docker-compose-bind.yaml b/Uptime-Kuma/docker-compose-bind.yaml index b6503c3..230a295 100644 --- a/Uptime-Kuma/docker-compose-bind.yaml +++ b/Uptime-Kuma/docker-compose-bind.yaml @@ -7,6 +7,12 @@ services: volumes: - /home/${UPTIMEKUMA_USERNAME}/uptime-kuma/data:/app/data - /var/run/docker.sock:/var/run/docker.sock + healthcheck: + test: ["CMD-SHELL", "extra/healthcheck"] + interval: 60s + timeout: 30s + retries: 5 + start_period: 180s deploy: resources: limits: diff --git a/Uptime-Kuma/docker-compose-volume.yaml b/Uptime-Kuma/docker-compose-volume.yaml index 1ba80de..a793996 100644 --- a/Uptime-Kuma/docker-compose-volume.yaml +++ b/Uptime-Kuma/docker-compose-volume.yaml @@ -7,6 +7,12 @@ services: volumes: - /var/run/docker.sock:/var/run/docker.sock - uptime-kuma:/app/data + healthcheck: + test: ["CMD-SHELL", "extra/healthcheck"] + interval: 60s + timeout: 30s + retries: 5 + start_period: 180s deploy: resources: limits: