Update healthcheck URLs to use 127.0.0.1 instead of localhost

This commit is contained in:
Andras Bacsai 2024-04-17 14:27:51 +02:00
parent ca5f52c48c
commit 05b5a6fddf

View File

@ -95,7 +95,7 @@ services:
expose: expose:
- "${APP_PORT:-8000}" - "${APP_PORT:-8000}"
healthcheck: healthcheck:
test: curl --fail http://localhost:80/api/health || exit 1 test: curl --fail http://127.0.0.1:80/api/health || exit 1
interval: 5s interval: 5s
retries: 10 retries: 10
timeout: 2s timeout: 2s
@ -142,7 +142,7 @@ services:
SOKETI_DEFAULT_APP_KEY: "${PUSHER_APP_KEY}" SOKETI_DEFAULT_APP_KEY: "${PUSHER_APP_KEY}"
SOKETI_DEFAULT_APP_SECRET: "${PUSHER_APP_SECRET}" SOKETI_DEFAULT_APP_SECRET: "${PUSHER_APP_SECRET}"
healthcheck: healthcheck:
test: wget -qO- http://localhost:6001/ready || exit 1 test: wget -qO- http://127.0.0.1:6001/ready || exit 1
interval: 5s interval: 5s
retries: 10 retries: 10
timeout: 2s timeout: 2s