RabbitMQ is open source message broker software (sometimes called message-oriented middleware) that implements the Advanced Message Queuing Protocol (AMQP). The RabbitMQ server is written in the Erlang programming language and is built on the Open Telecom Platform framework for clustering and failover. Client libraries to interface with the broker are available for all major programming languages.
- Based on
rabbitmq:management-alpine
(MIT License) - Includes
rabbitmq_mqtt
plugin
docker-compose build
docker-compose up
Generating SSL Keys/Certs:
This requires cfssl.
cd tls
./build.sh
Admin without SSL:
rabbitmqadmin list users
Admin with SSL:
rabbitmqadmin --ssl --ssl-ca-cert-file ./tls/ca.pem --ssl-key-file ./tls/client-key.pem --ssl-cert-file ./tls/client.pem --port 15671 list users
MQTT without SSL:
mosquitto_sub -d -t '#'
MQTT with SSL:
mosquitto_sub -p 8883 --cafile ./tls/ca.pem -d -t '#'
1883
MQTT8883
MQTT (SSL)
RABBITMQ_MQTT_VHOST
RABBITMQ_MQTT_EXCHANGE
RABBITMQ_MQTT_DEFAULT_USER
RABBITMQ_MQTT_DEFAULT_PASS