Skip to content

Commit

Permalink
Fix rabbitmq depend_on
Browse files Browse the repository at this point in the history
  • Loading branch information
rertyy committed Oct 20, 2024
1 parent bb68806 commit 8454cf8
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,10 @@ services:
- "9100:5672"
- "9101:15672"
healthcheck:
test:
[
"CMD-SHELL",
"rabbitmq-diagnostics -q ping && rabbitmq-diagnostics -q check_running && rabbitmq-diagnostics -q check_local_alarms",
]
test: rabbitmq-diagnostics check_port_connectivity
interval: 30s
timeout: 10s
retries: 5
start_period: 30s
timeout: 30s
retries: 10

matching-service:
build: matching-service
Expand All @@ -84,7 +79,6 @@ services:
- action: rebuild
path: matching-service
target: matching-service/app
# TODO for some reason healthcheck doesnt really work, still ahve to manually start MS and MS-api
depends_on:
rabbitmq:
condition: service_healthy
Expand Down

0 comments on commit 8454cf8

Please sign in to comment.