Fix docker-compose healthcheck: use 127.0.0.1 instead of localhost
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ services:
|
||||
condition: service_healthy
|
||||
# Increased start period to allow migrations to run
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000/api/health"]
|
||||
test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:3000/api/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user