add health check dependency for database service in docker-compose files

This commit is contained in:
maxDorninger
2025-11-02 11:49:22 +01:00
parent 8e9947652d
commit 2f35cebce3
2 changed files with 6 additions and 0 deletions

View File

@@ -12,6 +12,9 @@ services:
- ./config/:/app/config/
# Image folder
- ./images/:/data/images/
depends_on:
db:
condition: service_healthy
db:
image: postgres:17
restart: unless-stopped