Update docker-compose.yml
add healthcheck
This commit is contained in:
parent
9ea94476cc
commit
a363dcb1d3
1 changed files with 5 additions and 0 deletions
|
|
@ -9,6 +9,11 @@ services:
|
|||
depends_on:
|
||||
database:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test: "nc localhost 2368 || exit 1"
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
expose:
|
||||
- 2368
|
||||
ports:
|
||||
|
|
|
|||
Loading…
Reference in a new issue