fix: use 127.0.0.1 instead of localhost in healthcheck (IPv6 resolution issue)

This commit is contained in:
2026-02-27 12:53:23 -06:00
parent bac60a2d8d
commit d41068ccec
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ services:
ports:
- "${HOST_PORT:-3000}:3000"
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:3000/"]
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/"]
interval: 60s
timeout: 10s
retries: 3