From 683b4b02a1703b729d07eb20f0c3523ad06a1e67 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Sun, 24 Mar 2024 09:15:44 +0100 Subject: [PATCH 1/2] pin sevice to ipv4 --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index bf1e9bd..423c4c8 100644 --- a/nginx.conf +++ b/nginx.conf @@ -5,7 +5,7 @@ http { include mime.types; server { - listen 80; + listen 0.0.0.0:80; root /usr/share/nignx/html; index index.html; error_page 404 /404.html; -- 2.45.1 From 6571ccc4b8b75c45d132d65abc1e64342df8e436 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Sun, 24 Mar 2024 09:19:45 +0100 Subject: [PATCH 2/2] debug healthcheck --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e700991..d904ff3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN npm install \ FROM nginx:1.23.3-alpine as prod LABEL maintainer="marco.blessing@googlemail.com" -HEALTHCHECK --interval=15s --timeout=5s \ - CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1 +#HEALTHCHECK --interval=15s --timeout=5s \ +# CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1 COPY --from=builder src/public /usr/share/nignx/html/ COPY nginx.conf /etc/nginx/nginx.conf -- 2.45.1