coolify/templates/compose/rabbitmq.yaml

22 lines
703 B
YAML
Raw Normal View History

2023-10-27 00:42:15 +02:00
# documentation: https://www.rabbitmq.com/documentation.html
2023-10-27 14:22:35 +02:00
# slogan: With tens of thousands of users, RabbitMQ is one of the most popular open source message brokers.
2023-10-27 00:42:15 +02:00
# tags: message broker, message queue, message-oriented middleware, MOM, AMQP, MQTT, STOMP, messaging
2024-07-26 14:40:28 +02:00
# logo: svgs/rabbitmq.svg
# port: 15672
2023-10-27 00:42:15 +02:00
services:
rabbitmq:
2024-07-26 14:40:28 +02:00
image: rabbitmq:3-management
2023-10-27 00:42:15 +02:00
environment:
2024-07-26 14:40:28 +02:00
- SERVICE_FQDN_RABBITMQ_15672
2023-10-27 00:42:15 +02:00
- RABBITMQ_DEFAULT_USER=$SERVICE_USER_RABBITMQ
- RABBITMQ_DEFAULT_PASS=$SERVICE_PASSWORD_RABBITMQ
- PORT=${PORT:-5672}
2024-07-26 14:40:28 +02:00
ports:
- ${PORT}:5672
2023-10-27 00:42:15 +02:00
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 30s
timeout: 30s
retries: 3