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_mqttplugin
docker-compose builddocker-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 '#'
1883MQTT8883MQTT (SSL)
RABBITMQ_MQTT_VHOSTRABBITMQ_MQTT_EXCHANGERABBITMQ_MQTT_DEFAULT_USERRABBITMQ_MQTT_DEFAULT_PASS