fix: use 127.0.0.1 instead of localhost in health check
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ services:
|
|||||||
- S3_PUBLIC_URL=${S3_PUBLIC_URL}
|
- S3_PUBLIC_URL=${S3_PUBLIC_URL}
|
||||||
- STRIPE_WEBHOOK_SECRET=${STRIPE_WEBHOOK_SECRET}
|
- STRIPE_WEBHOOK_SECRET=${STRIPE_WEBHOOK_SECRET}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "wget", "-qO-", "http://localhost:3001/api/health"]
|
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3001/api/health"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|||||||
Reference in New Issue
Block a user