Added healthcheck to IT-Tools

This commit is contained in:
2026-01-27 19:51:36 +00:00
parent 834a4b97d2
commit 25146ec428

View File

@@ -2,6 +2,12 @@ services:
it-tools:
image: corentinth/it-tools
container_name: it-tools
healthcheck:
test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://127.0.0.1/ || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
labels:
- traefik.enable=true
- traefik.http.routers.$SUBDOMAIN.rule=Host(`${SUBDOMAIN}.${DOMAIN_NAME}`)