The main benifit with this approach is that you can use any version of RabbitMQ, which is maintaied by docker and will be up-to-date with future releases.
> git clone https://github.com/pardahlman/docker-rabbitmq-cluster.git > cd docker-rabbitmq-cluster > docker-compose up
Most things will be how you expect:
- The default username and password are
- The broker accepts connections on
- The Management interface is found at
.env file contains environment variables that can be used to change the default username, password and virtual host.
docker-compose.yml file comes with the latest version of HA Proxy, an open source software that provides a high availability load balancer and proxy server.
It should be fairly easy to add a
port mapping for the individual containers if it is desired to connect to a specific broker node.
I wrote a blog post that explains some of the ideas behind this repo.