Set up a RabbitMQ cluster on your laptop using Docker
Learn how to quickly set up a local RabbitMQ cluster using nothing more than the official RabbitMQ Docker image.
I will show you two versions that you can use to launch the cluster: one using docker run
and the other using docker-compose
. You’re going to learn how to enable clustering in RabbitMQ, how to make Docker containers work with each other as well as how to easily test a RabbitMQ infrastructure without even having to install RabbitMQ.
Useful links
- VERY HANDY TOOL
- GitHub Repository with the whole setup
- RabbitMQ clustering documentation
- docker run documentation
- docker-compose documentation
Photo credits: