2023-10-26 22:42:15 +00:00
|
|
|
# documentation: https://www.rabbitmq.com/documentation.html
|
2023-10-27 12:22:35 +00:00
|
|
|
# slogan: With tens of thousands of users, RabbitMQ is one of the most popular open source message brokers.
|
2025-08-17 16:23:57 +00:00
|
|
|
# category: messaging
|
2023-10-26 22:42:15 +00:00
|
|
|
# tags: message broker, message queue, message-oriented middleware, MOM, AMQP, MQTT, STOMP, messaging
|
2024-07-26 12:40:28 +00:00
|
|
|
# logo: svgs/rabbitmq.svg
|
|
|
|
|
# port: 15672
|
2023-10-26 22:42:15 +00:00
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
rabbitmq:
|
2024-07-26 12:40:28 +00:00
|
|
|
image: rabbitmq:3-management
|
2024-09-05 20:28:49 +00:00
|
|
|
hostname: "rabbitmq"
|
2023-10-26 22:42:15 +00:00
|
|
|
environment:
|
2025-08-10 08:10:22 +00:00
|
|
|
- SERVICE_URL_RABBITMQ_15672
|
2023-10-26 22:42:15 +00:00
|
|
|
- RABBITMQ_DEFAULT_USER=$SERVICE_USER_RABBITMQ
|
|
|
|
|
- RABBITMQ_DEFAULT_PASS=$SERVICE_PASSWORD_RABBITMQ
|
2024-08-12 10:37:39 +00:00
|
|
|
- PORT=${PORT:-5672}
|
2024-07-26 12:40:28 +00:00
|
|
|
ports:
|
2024-08-12 10:37:39 +00:00
|
|
|
- ${PORT}:5672
|
2023-10-26 22:42:15 +00:00
|
|
|
healthcheck:
|
|
|
|
|
test: rabbitmq-diagnostics -q ping
|
2024-10-07 09:54:54 +00:00
|
|
|
interval: 5s
|
2023-10-26 22:42:15 +00:00
|
|
|
timeout: 30s
|
2024-10-07 09:54:54 +00:00
|
|
|
retries: 10
|
2024-10-07 12:40:49 +00:00
|
|
|
volumes:
|
|
|
|
|
- rabbitmq-data:/var/lib/rabbitmq/
|