fix: add hc for soketi

This commit is contained in:
Andras Bacsai 2023-12-05 15:15:01 +01:00
parent 0496198d0f
commit e0cefc787a

View File

@ -80,8 +80,8 @@ services:
- "${APP_PORT:-8000}"
healthcheck:
test: curl --fail http://localhost:80/api/health || exit 1
interval: 4s
retries: 5
interval: 5s
retries: 10
timeout: 2s
depends_on:
postgres:
@ -103,8 +103,8 @@ services:
"-d",
"${DB_DATABASE:-coolify}"
]
interval: 2s
retries: 5
interval: 5s
retries: 10
timeout: 2s
redis:
command: redis-server --save 20 1 --loglevel warning --requirepass ${REDIS_PASSWORD}
@ -114,8 +114,8 @@ services:
- coolify-redis:/data
healthcheck:
test: redis-cli ping
interval: 2s
retries: 5
interval: 5s
retries: 10
timeout: 2s
soketi:
ports:
@ -125,6 +125,11 @@ services:
SOKETI_DEFAULT_APP_ID: "${PUSHER_APP_ID}"
SOKETI_DEFAULT_APP_KEY: "${PUSHER_APP_KEY}"
SOKETI_DEFAULT_APP_SECRET: "${PUSHER_APP_SECRET}"
healthcheck:
test: wget -qO- http://localhost:6001/ready || exit 1
interval: 5s
retries: 10
timeout: 2s
volumes:
coolify-db:
name: coolify-db