Update docker-compose.yaml

This commit is contained in:
Yonas Tewabe
2026-06-17 12:38:01 +03:00
committed by GitHub
parent b2f1cec37e
commit 12574768de

View File

@@ -9,20 +9,6 @@ services:
# Message broker for payment event delivery (payment-api -> passenger/freight).
# Management UI: http://localhost:15672 (login edr / edr_secret). vhost: payment.
# In deployed envs this is a shared/managed RabbitMQ; only PAYMENT_RABBITMQ_URL changes.
rabbitmq:
image: rabbitmq:3.13-management
ports:
- "5672:5672" # AMQP — apps connect here
- "15672:15672" # management UI
environment:
RABBITMQ_DEFAULT_USER: edr
RABBITMQ_DEFAULT_PASS: edr_secret
RABBITMQ_DEFAULT_VHOST: payment
healthcheck:
test: ["CMD", "rabbitmq-diagnostics", "-q", "ping"]
interval: 10s
timeout: 5s
retries: 5
freight-api:
build: