Public Repository

Last pushed: 4 months ago
Short Description
Docker image for bringing up a RabbitMQ cluster
Full Description

This docker image brings up a RabbitMQ server and can be used for bringing up a full-fledged clustered fully configurable with the number of nodes using docker-compose. The docker files are available here - https://github.com/bijukunjummen/docker-rabbitmq-cluster.

Here is a sample docker-compose file which brings up a 3 node cluster and can easily be extended:

version: '2'
services:
  rabbit1:
    image: bijukunjummen/rabbitmq-server:3.6.10
    hostname: rabbit1
    ports:
      - "5672:5672"
      - "15672:15672"
    environment:
      - RABBITMQ_DEFAULT_USER=myuser
      - RABBITMQ_DEFAULT_PASS=mypass
  rabbit2:
    image: bijukunjummen/rabbitmq-server:3.6.10
    hostname: rabbit2
    links:
      - rabbit1
    environment: 
     - CLUSTERED=true
     - CLUSTER_WITH=rabbit1
     - RAM_NODE=true
    ports:
        - "5673:5672"
        - "15673:15672"

  rabbit3:
    image: bijukunjummen/rabbitmq-server:3.6.10
    hostname: rabbit3
    links:
      - rabbit1
      - rabbit2
    environment: 
     - CLUSTERED=true
     - CLUSTER_WITH=rabbit1
    ports:
          - "5674:5672"
Docker Pull Command
Owner
bijukunjummen