Skip to content

Commit 4b8583c

Browse files
committed
[DOP-22054] Add healthcheck for server container
1 parent 85dd321 commit 4b8583c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker-compose.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,12 @@ services:
6767
condition: service_completed_successfully
6868
rabbitmq:
6969
condition: service_healthy
70+
healthcheck:
71+
test: [CMD-SHELL, curl -f http://localhost:8000/monitoring/ping]
72+
interval: 30s
73+
timeout: 5s
74+
retries: 3
75+
start_period: 5s
7076

7177
worker:
7278
image: mtsrus/syncmaster-worker:${TAG:-develop}

0 commit comments

Comments
 (0)