Update docker-compose.yml

add healthcheck
This commit is contained in:
LRVT
2024-03-23 03:49:45 +01:00
committed by GitHub
parent 9ea94476cc
commit a363dcb1d3

View File

@@ -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: