RabbitMQ Management on Docker on Azure

Ran into issues using the docker image for RabbitMQ on Azure.

https://hub.docker.com/_/rabbitmq/
https://github.com/docker-library/rabbitmq/issues/6#issuecomment-97721548

$ sudo bash
$ cd /etc/docker/compose
$ docker-compose down
$ nano /etc/docker/compose/docker-compose.yml

rabbitmq:
# environment:
# – RABBITMQ_NODENAME=qti-rabbitmq
hostname: qti-rabbitmq
image: rabbitmq
ports:
– 5672:5672
– 15672:15672
restart: always
volumes:
– /var/lib/rabbitmq:/var/lib/rabbitmq

$ docker-compose up -d
$ docker exec compose_rabbitmq_1 rabbitmq-plugins enable rabbitmq_management
$ docker exec compose_rabbitmq_1 rabbitmqctl status

Then, login in to the rabbitmq management page at http://[public-ip]:15672 with guest:guest

One thought on “RabbitMQ Management on Docker on Azure”

Leave a Reply

Your email address will not be published. Required fields are marked *