updated install script to wait until db is online

This commit is contained in:
Kai Ritthaler 2025-06-14 21:30:05 +02:00 committed by Rudi Regentonne
parent 8cbbbb8cc1
commit d2b90bf9a4
4 changed files with 9 additions and 16 deletions

View file

@ -10,7 +10,11 @@ services:
POSTGRES_DB: prisma
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD", "pg_isready", "-U", "postgres"]
interval: 5s
timeout: 3s
retries: 5
minio:
image: quay.io/minio/minio
container_name: minio