Added Healthchecks
This commit is contained in:
@@ -7,6 +7,12 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /home/${UPTIMEKUMA_USERNAME}/uptime-kuma/data:/app/data
|
- /home/${UPTIMEKUMA_USERNAME}/uptime-kuma/data:/app/data
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "extra/healthcheck"]
|
||||||
|
interval: 60s
|
||||||
|
timeout: 30s
|
||||||
|
retries: 5
|
||||||
|
start_period: 180s
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|||||||
@@ -7,6 +7,12 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- uptime-kuma:/app/data
|
- uptime-kuma:/app/data
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "extra/healthcheck"]
|
||||||
|
interval: 60s
|
||||||
|
timeout: 30s
|
||||||
|
retries: 5
|
||||||
|
start_period: 180s
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|||||||
Reference in New Issue
Block a user