From 57ad510b08557a71dcd4eedcd0071c89061a0798 Mon Sep 17 00:00:00 2001 From: junmin Date: Mon, 7 Sep 2026 01:41:33 +0900 Subject: [PATCH] fix: use IPv4 for frontend healthcheck --- .github/workflows/ci-cd.yml | 1 + docker-compose.pi.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index d8d2721..1732491 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -39,6 +39,7 @@ jobs: run: | grep -Fq 'COMPOSE_PROJECT="${RALLYTRACK_COMPOSE_PROJECT:-devops}"' pi/deploy.sh test "$(grep -Fc -- '-p "$COMPOSE_PROJECT"' pi/deploy.sh)" = "2" + grep -Fq '"http://127.0.0.1/"' docker-compose.pi.yml - name: Validate local Compose model run: docker compose -f docker-compose.yml config --quiet - name: Validate Pi Compose model diff --git a/docker-compose.pi.yml b/docker-compose.pi.yml index ed20fdd..4b546e5 100644 --- a/docker-compose.pi.yml +++ b/docker-compose.pi.yml @@ -105,7 +105,7 @@ services: mem_limit: 128m restart: unless-stopped healthcheck: - test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://localhost/"] + test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1/"] interval: 15s timeout: 5s start_period: 10s