From f306ceff37bdcd9e3ca2040fa0948ed42097cd5e Mon Sep 17 00:00:00 2001 From: niawag Date: Sun, 30 Jun 2024 16:44:02 +0200 Subject: [PATCH 1/5] Update Dockerfile.build - healthcheck changed from localhost to 127.0.0.1 Should fix a bug whith IPv6 and healthcheck --- docker/alpine/Dockerfile.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/alpine/Dockerfile.build b/docker/alpine/Dockerfile.build index aa3c82b2..9e290f92 100644 --- a/docker/alpine/Dockerfile.build +++ b/docker/alpine/Dockerfile.build @@ -35,7 +35,7 @@ VOLUME ["/app/data/config", "/app/data/db", "/app/data/images", "/app/data/tmp"] RUN ["node", "./src/backend/index", "--expose-gc", "--run-diagnostics", "--config-path=/app/diagnostics-config.json"] HEALTHCHECK --interval=40s --timeout=30s --retries=3 --start-period=60s \ CMD wget --quiet --tries=1 --no-check-certificate --spider \ - http://localhost:80/heartbeat || exit 1 + http://127.0.0.1:80/heartbeat || exit 1 # after a extensive job (like video converting), pigallery calls gc, to clean up everthing as fast as possible # Exec form entrypoint is need otherwise (using shell form) ENV variables are not properly passed down to the app From 941c91ab32aecd654e6bb026f8b77a1194b856af Mon Sep 17 00:00:00 2001 From: niawag Date: Sun, 30 Jun 2024 16:45:29 +0200 Subject: [PATCH 2/5] Update Dockerfile.build - healthcheck changed from localhost to 127.0.0.1 Should fix a bug whith IPv6 and healthcheck --- docker/debian-bookworm/Dockerfile.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/debian-bookworm/Dockerfile.build b/docker/debian-bookworm/Dockerfile.build index 01cd7b24..87fd6b4b 100644 --- a/docker/debian-bookworm/Dockerfile.build +++ b/docker/debian-bookworm/Dockerfile.build @@ -36,7 +36,7 @@ VOLUME ["/app/data/config", "/app/data/db", "/app/data/images", "/app/data/tmp"] RUN ["node", "./src/backend/index", "--expose-gc", "--run-diagnostics", "--config-path=/app/diagnostics-config.json"] HEALTHCHECK --interval=40s --timeout=30s --retries=3 --start-period=60s \ CMD wget --quiet --tries=1 --no-check-certificate --spider \ - http://localhost:80/heartbeat || exit 1 + http://127.0.0.1:80/heartbeat || exit 1 # after a extensive job (like video converting), pigallery calls gc, to clean up everthing as fast as possible # Exec form entrypoint is need otherwise (using shell form) ENV variables are not properly passed down to the app From e55345b502808e88a127831aab1fe88de6039e9b Mon Sep 17 00:00:00 2001 From: niawag Date: Sun, 30 Jun 2024 16:47:13 +0200 Subject: [PATCH 3/5] Update Dockerfile.build - healthcheck changed from localhost to 127.0.0.1 Should fix a bug whith IPv6 and healthcheck --- docker/debian-buster/selfcontained/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/debian-buster/selfcontained/Dockerfile b/docker/debian-buster/selfcontained/Dockerfile index 9ce20370..c4e38a1b 100644 --- a/docker/debian-buster/selfcontained/Dockerfile +++ b/docker/debian-buster/selfcontained/Dockerfile @@ -39,7 +39,7 @@ VOLUME ["/app/data/config", "/app/data/db", "/app/data/images", "/app/data/tmp"] RUN ["node", "./src/backend/index", "--expose-gc", "--run-diagnostics", "--config-path=/app/diagnostics-config.json"] HEALTHCHECK --interval=40s --timeout=30s --retries=3 --start-period=60s \ CMD wget --quiet --tries=1 --no-check-certificate --spider \ - http://localhost:80/heartbeat || exit 1 + http://127.0.0.1:80/heartbeat || exit 1 # after a extensive job (like video converting), pigallery calls gc, to clean up everthing as fast as possible # Exec form entrypoint is need otherwise (using shell form) ENV variables are not properly passed down to the app From 935084efcfe82b455f0594d4927f36bcded3c159 Mon Sep 17 00:00:00 2001 From: niawag Date: Sun, 30 Jun 2024 16:47:51 +0200 Subject: [PATCH 4/5] Update Dockerfile.build - healthcheck changed from localhost to 127.0.0.1 Should fix a bug whith IPv6 and healthcheck --- docker/debian-buster/Dockerfile.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/debian-buster/Dockerfile.build b/docker/debian-buster/Dockerfile.build index 2c92a4bb..a05f7009 100644 --- a/docker/debian-buster/Dockerfile.build +++ b/docker/debian-buster/Dockerfile.build @@ -36,7 +36,7 @@ VOLUME ["/app/data/config", "/app/data/db", "/app/data/images", "/app/data/tmp"] RUN ["node", "./src/backend/index", "--expose-gc", "--run-diagnostics", "--config-path=/app/diagnostics-config.json"] HEALTHCHECK --interval=40s --timeout=30s --retries=3 --start-period=60s \ CMD wget --quiet --tries=1 --no-check-certificate --spider \ - http://localhost:80/heartbeat || exit 1 + http://127.0.0.1:80/heartbeat || exit 1 # after a extensive job (like video converting), pigallery calls gc, to clean up everthing as fast as possible # Exec form entrypoint is need otherwise (using shell form) ENV variables are not properly passed down to the app From 60474eeb0e1f5100618980dd9aa52841a9d2e208 Mon Sep 17 00:00:00 2001 From: niawag Date: Sun, 30 Jun 2024 16:48:10 +0200 Subject: [PATCH 5/5] Update Dockerfile.build - healthcheck changed from localhost to 127.0.0.1 Should fix a bug whith IPv6 and healthcheck --- docker/debian-bullseye/Dockerfile.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/debian-bullseye/Dockerfile.build b/docker/debian-bullseye/Dockerfile.build index e8c809ad..a737ca7d 100644 --- a/docker/debian-bullseye/Dockerfile.build +++ b/docker/debian-bullseye/Dockerfile.build @@ -36,7 +36,7 @@ VOLUME ["/app/data/config", "/app/data/db", "/app/data/images", "/app/data/tmp"] RUN ["node", "./src/backend/index", "--expose-gc", "--run-diagnostics", "--config-path=/app/diagnostics-config.json"] HEALTHCHECK --interval=40s --timeout=30s --retries=3 --start-period=60s \ CMD wget --quiet --tries=1 --no-check-certificate --spider \ - http://localhost:80/heartbeat || exit 1 + http://127.0.0.1:80/heartbeat || exit 1 # after a extensive job (like video converting), pigallery calls gc, to clean up everthing as fast as possible # Exec form entrypoint is need otherwise (using shell form) ENV variables are not properly passed down to the app