Use loopback IP address for container health check

This should maybe fix issues?
This commit is contained in:
Yannik Rödel 2024-03-29 14:34:06 +01:00
parent b7086ea353
commit 2e0327ddc7

View file

@ -55,7 +55,7 @@ ENV ZAMMAD_URL=https://ticket.z31.it
ENV ZAMMAD_GROUP="" ENV ZAMMAD_GROUP=""
HEALTHCHECK --interval=30s --timeout=10s --retries=3 \ 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 # Reroute stdout to a new file descriptor so that Lighttpd can use it as the
# access log. See http.conf and here: # access log. See http.conf and here: