Correct the docker compose

This commit is contained in:
Léo 2024-03-28 12:02:48 +00:00
parent 59b7d2a381
commit ba3b1aea8b

View file

@ -8,6 +8,8 @@ services:
POSTGRES_DB: court
volumes:
- ./initdb/:/docker-entrypoint-initdb.d
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
court:
build: .
ports:
@ -15,4 +17,5 @@ services:
environment:
DB_HOST: db
depends_on:
- db
db:
condition: service_healthy