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
|
POSTGRES_DB: court
|
||||||
volumes:
|
volumes:
|
||||||
- ./initdb/:/docker-entrypoint-initdb.d
|
- ./initdb/:/docker-entrypoint-initdb.d
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready"]
|
||||||
court:
|
court:
|
||||||
build: .
|
build: .
|
||||||
ports:
|
ports:
|
||||||
|
@ -15,4 +17,5 @@ services:
|
||||||
environment:
|
environment:
|
||||||
DB_HOST: db
|
DB_HOST: db
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
db:
|
||||||
|
condition: service_healthy
|
||||||
|
|
Loading…
Reference in a new issue