From 25146ec428a6bba557b38034a7c1bee82e35d71d Mon Sep 17 00:00:00 2001 From: Jonathan Agmon Date: Tue, 27 Jan 2026 19:51:36 +0000 Subject: [PATCH] Added healthcheck to IT-Tools --- webapp/it-tools/compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/webapp/it-tools/compose.yml b/webapp/it-tools/compose.yml index 112406b..f1f81c6 100644 --- a/webapp/it-tools/compose.yml +++ b/webapp/it-tools/compose.yml @@ -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}`)