mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
Update docker-compose.yaml
This commit is contained in:
@@ -9,20 +9,6 @@ services:
|
|||||||
# Message broker for payment event delivery (payment-api -> passenger/freight).
|
# Message broker for payment event delivery (payment-api -> passenger/freight).
|
||||||
# Management UI: http://localhost:15672 (login edr / edr_secret). vhost: payment.
|
# 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.
|
# 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:
|
freight-api:
|
||||||
build:
|
build:
|
||||||
|
|||||||
Reference in New Issue
Block a user