Refactor healthcheck configurations in Docker Compose files

This commit is contained in:
Andras Bacsai
2024-04-16 14:08:11 +02:00
parent 498626748d
commit 1aec16a240
17 changed files with 145 additions and 34 deletions

View File

@@ -25,6 +25,16 @@ services:
- REDIS_HOST=redis
- REDIS_PORT=6379
- WEBSOCKETS_ENABLED=true
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:8055/admin/login"]
interval: 5s
timeout: 20s
retries: 10
depends_on:
postgresql:
condition: service_healthy
redis:
condition: service_healthy
postgresql:
image: postgres:16-alpine
volumes: