Skip to content

Commit 258db87

Browse files
committed
Merge remote-tracking branch 'origin/dockerise-match-service' into add-match-timer
2 parents 422e509 + 8454cf8 commit 258db87

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

compose.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,10 @@ services:
6363
- "9100:5672"
6464
- "9101:15672"
6565
healthcheck:
66-
test:
67-
[
68-
"CMD-SHELL",
69-
"rabbitmq-diagnostics -q ping && rabbitmq-diagnostics -q check_running && rabbitmq-diagnostics -q check_local_alarms",
70-
]
66+
test: rabbitmq-diagnostics check_port_connectivity
7167
interval: 30s
72-
timeout: 10s
73-
retries: 5
74-
start_period: 30s
68+
timeout: 30s
69+
retries: 10
7570

7671
matching-service:
7772
build: matching-service
@@ -84,7 +79,6 @@ services:
8479
- action: rebuild
8580
path: matching-service
8681
target: matching-service/app
87-
# TODO for some reason healthcheck doesnt really work, still ahve to manually start MS and MS-api
8882
depends_on:
8983
rabbitmq:
9084
condition: service_healthy

0 commit comments

Comments
 (0)