Sign inSign up

ryts/rabbitmq

By ryts

•Updated about 6 years ago

RabbitMQ with MQTT enabled

Image
0

970

ryts/rabbitmq repository overview

⁠RabbitMQ with MQTT enabled

Based on 3-management-alpine 977d0b3ac039

docker run -it --rm --name rabbitmq -p 5672:5672 -p 1883:1883 -p 15672:15672 ryts/rabbitmq

⁠Enabling MQTT Plugin on stock rabbitmq image

docker exec -it <DOCKER-CONTINER-ID> /bin/bash

In docker container run this command

rabbitmq-plugins enable rabbitmq_mqtt

# also disable anonymouse login run this to add configuration
echo "mqtt.allow_anonymous = false" >> /etc/rabbitmq/rabbitmq.conf

if you want to edit exhange and default use pass check here
https://www.rabbitmq.com/mqtt.html#config⁠

mqtt.exchange use amq.topic which is default one and come with rabbitmq so you don't need do declare that exchange first.

Tag summary

Content type

Image

Digest

Size

69.6 MB

Last updated

about 6 years ago

docker pull ryts/rabbitmq