Skip to content

RabbitMQ cluster different types.

License

Notifications You must be signed in to change notification settings

sapvs/rabbitmq-docker-cluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RabbitMQ Docker Clustering

RabbitMQ clustering on Docker using different clustering approaches.

Clustering Methods

  1. Script
    Uses rabbitmqctl commands to join the cluster.
  2. Peer Discovery classic Config
    Classic config using Peer Discovery
  3. DNS
    DNS config using DNS discovery

Use the samples

Makefile is provided for each cluster formation using docker-compose

Make Targets

  1. Classic

    make classic-up 
    make classic-down
    
  2. Script

    make script-up
    make script-down
    
  3. DNS

    make dns-up
    make dns-down
    

Access

ngix is included to listen on 4000, RabbitMQ manageement page can be accessed at localhost:4000

Files

rabbit.conf

RabbitMQ configuration file.

nginx.conf

Nginx backend and proxy pass configuration file.