From 2e0327ddc7fe0af330edd3bcec6ed0f4a666e3b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yannik=20R=C3=B6del?= Date: Fri, 29 Mar 2024 14:34:06 +0100 Subject: [PATCH] Use loopback IP address for container health check This should maybe fix issues? --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3ac03a1..0a37cf3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -55,7 +55,7 @@ ENV ZAMMAD_URL=https://ticket.z31.it ENV ZAMMAD_GROUP="" HEALTHCHECK --interval=30s --timeout=10s --retries=3 \ - CMD wget --no-verbose --tries=1 --spider http://localhost/ || exit 1 + CMD wget --no-verbose --tries=1 --spider http://127.0.0.1/ || exit 1 # Reroute stdout to a new file descriptor so that Lighttpd can use it as the # access log. See http.conf and here: