This is a RabbitMQ HA cluster with 3 nodes. We use the official RabbitMQ docker image and the official RabbitMQ HA plugin
- The cluster is created using docker-compose, and the nodes are connected using the HA plugin. Build_cluster.sh is a script that helps to connect the nodes together.
- The cluster is created using the
rabbitmq-cluster
network, and the nodes are namedrabbitmq1
,rabbitmq2
, andrabbitmq3
-
- Start the cluster using the following command
make dev
-
- Run the following to connect the nodes together
./build_cluster.sh