From c17d6e4f6ff90b2d42dd71d15711710399e70195 Mon Sep 17 00:00:00 2001 From: agentsas Date: Sun, 6 Oct 2024 20:51:38 +0200 Subject: [PATCH 1/2] Ignore proxy settings during healthcheck --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 9b7c82a..4351368 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -206,4 +206,4 @@ VOLUME ${JELLYFIN_DATA_DIR} ${JELLYFIN_CACHE_DIR} ENTRYPOINT ["/jellyfin/jellyfin"] HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \ - CMD curl -Lk -fsS "${HEALTHCHECK_URL}" || exit 1 + CMD curl --noproxy '*' -Lk -fsS "${HEALTHCHECK_URL}" || exit 1 From 255124277d9f57ea228fe804fa5d79a3f05837f9 Mon Sep 17 00:00:00 2001 From: agentsas Date: Sun, 6 Oct 2024 21:00:10 +0200 Subject: [PATCH 2/2] Ignore proxy settings during healthcheck for localhost --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 4351368..8b67ab0 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -206,4 +206,4 @@ VOLUME ${JELLYFIN_DATA_DIR} ${JELLYFIN_CACHE_DIR} ENTRYPOINT ["/jellyfin/jellyfin"] HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \ - CMD curl --noproxy '*' -Lk -fsS "${HEALTHCHECK_URL}" || exit 1 + CMD curl --noproxy 'localhost' -Lk -fsS "${HEALTHCHECK_URL}" || exit 1