From 1b424eaa7d3a131c2d8a677afbbdd492e455c896 Mon Sep 17 00:00:00 2001 From: lgoose Date: Fri, 21 Aug 2026 01:34:55 +0200 Subject: [PATCH] fix(panel): healthcheck obrazu odpytuje 127.0.0.1 zamiast localhost MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit nginx nasłuchuje wyłącznie na IPv4, a w obrazie alpine localhost rozwiązuje się najpierw na ::1. Healthcheck kończył się więc odmową połączenia i kontener nigdy nie osiągał stanu healthy - wyszło to przy pisaniu CI, gdzie ten sam sposób odpytania nie działał. Co-Authored-By: Claude Opus 5 --- frontend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 9da19cd..9a77883 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -19,4 +19,4 @@ COPY --from=build /app/dist /usr/share/nginx/html EXPOSE 80 HEALTHCHECK --interval=30s --timeout=3s --start-period=5s \ - CMD wget -qO- http://localhost/ >/dev/null || exit 1 + CMD wget -qO- http://127.0.0.1/ >/dev/null || exit 1