Based on 3-management-alpine 977d0b3ac039
docker run -it --rm --name rabbitmq -p 5672:5672 -p 1883:1883 -p 15672:15672 ryts/rabbitmq
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.
Content type
Image
Digest
Size
69.6 MB
Last updated
about 6 years ago
docker pull ryts/rabbitmq