mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-06 15:18:48 +00:00
updated install script to wait until db is online
This commit is contained in:
parent
8cbbbb8cc1
commit
d2b90bf9a4
4 changed files with 9 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue