Adding all the tests and fixes to the passengers app

This commit is contained in:
Muluhabt
2026-07-21 13:45:49 +03:00
parent 8ce2d2d874
commit f2ae9c883f
3316 changed files with 15548 additions and 37 deletions

View File

@@ -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