Correct the docker compose
This commit is contained in:
parent
59b7d2a381
commit
ba3b1aea8b
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue