From c000d14e7022abfc8697fb49a4f03394a2281d29 Mon Sep 17 00:00:00 2001 From: Javan Eskander Date: Tue, 23 Sep 2025 07:39:11 +0000 Subject: [PATCH 1/3] Unset the proxy when performing the seaweedfs health check --- docker-compose.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 319e4be5bf8..16586b49561 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -274,7 +274,14 @@ services: volumes: - "sentry-seaweedfs:/data" healthcheck: - test: ["CMD", "wget", "-q", "-O-", "http://seaweedfs:8080/healthz", "http://seaweedfs:9333/cluster/healthz", "http://seaweedfs:8333/healthz"] + test: [ + "CMD-SHELL", + # Manually override any http_proxy envvar that might be set, because + # this wget does not support no_proxy. See: + # https://github.com/getsentry/self-hosted/issues/1537 + # https://github.com/getsentry/self-hosted/issues/3958 + "http_proxy='' wget http://seaweedfs:8080/healthz http://seaweedfs:9333/cluster/healthz http://seaweedfs:8333/healthz || exit 1", + ] interval: 30s timeout: 20s retries: 5 From ab998ed62c75f85a1c442d603b66f0e74ec99806 Mon Sep 17 00:00:00 2001 From: Javan Eskander Date: Wed, 24 Sep 2025 01:03:37 +0000 Subject: [PATCH 2/3] Silence the output of the seaweedfs health check --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 16586b49561..cbf8bfedd75 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -280,7 +280,7 @@ services: # this wget does not support no_proxy. See: # https://github.com/getsentry/self-hosted/issues/1537 # https://github.com/getsentry/self-hosted/issues/3958 - "http_proxy='' wget http://seaweedfs:8080/healthz http://seaweedfs:9333/cluster/healthz http://seaweedfs:8333/healthz || exit 1", + "http_proxy='' wget -q -O- http://seaweedfs:8080/healthz http://seaweedfs:9333/cluster/healthz http://seaweedfs:8333/healthz || exit 1", ] interval: 30s timeout: 20s From 27cbdfbb73621cf765834219c03b06d01ff16018 Mon Sep 17 00:00:00 2001 From: Javan Eskander Date: Thu, 25 Sep 2025 00:15:31 +1000 Subject: [PATCH 3/3] Remove extra issue comment --- docker-compose.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index cbf8bfedd75..8ed109bf691 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -279,7 +279,6 @@ services: # Manually override any http_proxy envvar that might be set, because # this wget does not support no_proxy. See: # https://github.com/getsentry/self-hosted/issues/1537 - # https://github.com/getsentry/self-hosted/issues/3958 "http_proxy='' wget -q -O- http://seaweedfs:8080/healthz http://seaweedfs:9333/cluster/healthz http://seaweedfs:8333/healthz || exit 1", ] interval: 30s