mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
Adding all the tests and fixes to the passengers app
This commit is contained in:
@@ -21,3 +21,21 @@ services:
|
||||
tmpfs:
|
||||
# Ephemeral storage — every `docker compose down` wipes the DB. Nothing to clean up.
|
||||
- /var/lib/postgresql/data
|
||||
|
||||
# Broker for the passenger-api payment-events consumer (golevelup RabbitMQ). The API blocks boot
|
||||
# until this connects. Pre-creates the `payment` vhost that PAYMENT_RABBITMQ_URL points at.
|
||||
rabbitmq-e2e:
|
||||
image: rabbitmq:3-management
|
||||
container_name: edr-passenger-e2e-rmq
|
||||
environment:
|
||||
RABBITMQ_DEFAULT_USER: edr
|
||||
RABBITMQ_DEFAULT_PASS: edr_secret
|
||||
RABBITMQ_DEFAULT_VHOST: payment
|
||||
ports:
|
||||
- "5672:5672"
|
||||
- "15672:15672"
|
||||
healthcheck:
|
||||
test: ["CMD", "rabbitmq-diagnostics", "-q", "ping"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 20
|
||||
|
||||
Reference in New Issue
Block a user