From 14147659e5f97ae58a66bebaa1725f7a834a2a4c Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Fri, 25 Jul 2025 13:44:43 -0400 Subject: [PATCH] Health check fix for Portchecker. --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 12c57b88..0fe46762 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4353,7 +4353,7 @@ services: API_URL: http://portchecker-api:8000 # Optional, the URL of the API service. The scheme and port is required. Defaults to http://api:8000 if not set. # GOOGLE_ANALYTICS: # Optional, set for Google Analytics integration healthcheck: - test: ["CMD", "wget", "--spider", "-S", "http://localhost"] + test: ["CMD", "wget", "--spider", "-S", "http://127.0.0.1"] interval: 30s timeout: 10s retries: 3 @@ -4380,7 +4380,7 @@ services: environment: ALLOW_PRIVATE: true # Prevent usage of private IP addresses healthcheck: - test: ["CMD", "wget", "--spider", "-S", "http://localhost:8000/healthz"] + test: ["CMD", "wget", "--spider", "-S", "http://127.0.0.1:8000/healthz"] interval: 30s timeout: 10s retries: 3