# RabbitMQ 4.3.x. # # Quorum queues are the default for durable work queues in this platform, so the classic mirroring # policy is deliberately absent: classic mirrored queues can lose acknowledged messages during a # partition, which is precisely the guarantee a durable work queue exists to provide. services: rabbitmq: image: rabbitmq:4.3-management container_name: messaging-rabbitmq ports: - "5672:5672" - "15672:15672" environment: RABBITMQ_DEFAULT_USER: messaging RABBITMQ_DEFAULT_PASS: messaging # Publisher confirms and returns are client-side settings; the profile guard enforces them. RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS: "-rabbit consumer_timeout 1800000" healthcheck: test: ["CMD", "rabbitmq-diagnostics", "-q", "check_running"] interval: 5s timeout: 10s retries: 20