Public Repository

Last pushed: 8 months ago
Short Description
RabbitMQ image with configuration using environment variables (support for management and MQTT)
Full Description

rabbitmq

(GitHub: https://github.com/SirCAS/rabbitmq)

RabbitMQ Docker image with configuration from environment variables.

Supported features: Management and MQTT
(TLS can be enabled for both)

Docker Cloud Stack example

rabbitmq-mqtt-mangement:
  image: 'sircas/rabbitmq:management-mqtt-latest'
  autoredeploy: true
  environment:
    - RABBITMQ_DEFAULT_PASS=admin
    - RABBITMQ_DEFAULT_USER=admin
    - RABBITMQ_DEFAULT_VHOST=/
    - RABBITMQ_LOG_BASE=/var/log/rabbitmq
    - RABBITMQ_SSL_CA_FILE=/etc/ssl/certs/rabbitmq-ca-certificate.crt
    - RABBITMQ_SSL_CERT_FILE=/etc/ssl/certs/rabbitmq-host.crt
    - RABBITMQ_SSL_KEY_FILE=/etc/ssl/certs/rabbitmq-host.key
  ports:
    - '8883:8883'
    - '15671:15671'
  volumes:
    - '/volumes/certs/rabbitmq-ca-certificate.crt:/etc/ssl/certs/rabbitmq-ca-certificate.crt:ro'
    - '/volumes/certs/rabbitmq-host.crt:/etc/ssl/certs/rabbitmq-host.crt:ro'
    - '/volumes/certs/rabbitmq-host.key:/etc/ssl/certs/rabbitmq-host.key:ro'
    - '/volumes/log/rabbitmq:/var/log/rabbitmq'

Port descriptions

5671  : amqp
5672  : amqp/ssl
25672 : clustering
1883  : mqtt
8883  : mqtt/ssl
15671 : RabbitMQ management (SSL)

The above ports can be mapped as needed.

Docker Pull Command
Owner
sircas

Comments (0)