fix: use 127.0.0.1 instead of localhost in healthcheck (IPv6 resolution issue)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user