add service template for rabbitmq
This commit is contained in:
parent
632dbd155b
commit
a7dc62aaa0
17
templates/compose/rabbitmq.yaml
Normal file
17
templates/compose/rabbitmq.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
# documentation: https://www.rabbitmq.com/documentation.html
|
||||
# slogan: With tens of thousands of users, RabbitMQ is one of the most popular open source message brokers
|
||||
# tags: message broker, message queue, message-oriented middleware, MOM, AMQP, MQTT, STOMP, messaging
|
||||
|
||||
services:
|
||||
rabbitmq:
|
||||
image: rabbitmq:3.8-management
|
||||
environment:
|
||||
- SERVICE_FQDN_RABBITMQ_15672
|
||||
- SERVICE_FQDN_RABBITMQ_5672
|
||||
- RABBITMQ_DEFAULT_USER=$SERVICE_USER_RABBITMQ
|
||||
- RABBITMQ_DEFAULT_PASS=$SERVICE_PASSWORD_RABBITMQ
|
||||
healthcheck:
|
||||
test: rabbitmq-diagnostics -q ping
|
||||
interval: 30s
|
||||
timeout: 30s
|
||||
retries: 3
|
Loading…
x
Reference in New Issue
Block a user