• Stars
    star
    129
  • Rank 270,880 (Top 6 %)
  • Language
    Shell
  • License
    MIT License
  • Created almost 9 years ago
  • Updated almost 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Docker RabbitMQ cluster

Docker images to run RabbitMQ cluster. It extends the official image with a rabbitmq-cluster script that does the magic.

Building

Once you clone the project locally use captain to build the image or do with docker:

docker build -t harbur/rabbitmq-cluster .

Running with docker-compose

If you want to run the cluster on one machine use docker-compose

docker-compose up -d

By default 3 nodes are started up this way:

rabbit1:
  image: harbur/rabbitmq-cluster
  hostname: rabbit1
  environment:
    - ERLANG_COOKIE=abcdefg
  ports:
    - "5672:5672"
    - "15672:15672"
rabbit2:
  image: harbur/rabbitmq-cluster
  hostname: rabbit2
  links:
    - rabbit1
  environment:
    - ERLANG_COOKIE=abcdefg
    - CLUSTER_WITH=rabbit1
    - ENABLE_RAM=true
    - RAM_NODE=true
  ports:
    - "5673:5672"
    - "15673:15672"
rabbit3:
  image: harbur/rabbitmq-cluster
  hostname: rabbit3
  links:
    - rabbit1
    - rabbit2
  environment:
    - ERLANG_COOKIE=abcdefg
    - CLUSTER_WITH=rabbit1
  ports:
    - "5674:5672"

If needed, additional nodes can be added to this file.

Once cluster is up:

  • The management console can be accessed at http://hostip:15672
  • The connection host should look like this: hostip:5672,hostip:5673,hostip:5674

Credits

More Repositories

1

captain

Captain - Convert your Git workflow to Docker 🐳 containers
Go
756
star
2

kubernetic

Kubernetic - Supercharge your Kubernetes clusters
268
star
3

kubebot

Kubernetes chatbot for Slack
Go
150
star
4

docker-workshop

Docker Workshop
HTML
108
star
5

docker-sonarqube

Dockerized SonarQube web server
Shell
78
star
6

docker-sdlc

Docker-based multi-container Software Development Life Cycle environment
34
star
7

ka

ka - Launch Kubernetes Anywhere
Shell
25
star
8

docker-haveged

Docker Haveged - an entropy gathering service
22
star
9

kubebot-chart

Kubernetes chart for Kubebot
19
star
10

kubernetic-charts-legacy

Kubernetic Charts
Smarty
12
star
11

sops-operator

kubernetes operator for Sops secrets management tool
Go
9
star
12

tide

Tide - An easy package manager for Kubernetes
Go
9
star
13

docker-multi-tenancy

Docker Multi Tenancy Proxy
Go
8
star
14

kubernetes-project-initializer-tutorial

Tutorial using Kubernetes Initializers to implement a Project CRD
Go
5
star
15

tekton-tutorial

Tekton Tutorial - CI/CD with Tekton: A walkthrough to build and deploy your GitHub repos
Go
5
star
16

passport-digitalocean

DigitalOcean authentication strategy for Passport and Node.js.
JavaScript
4
star
17

etcd-backup

Script-based etcd backup
Shell
4
star
18

srelay

srelay - the SOCKS proxy and Relay - Docker Image
2
star
19

mast

configuration managent on top of etcd
Shell
1
star
20

coreos-init

CoreOS Initialization script
Shell
1
star
21

glassfish-flyway

Glassfish + Flyway
Shell
1
star
22

docker-scaffold

Scaffold project for minimal container images with configuration template mechanism
Shell
1
star
23

kubernetic-ci

Kubernetic CI
Groovy
1
star
24

captain-example

1
star
25

www.harbur.io

Harbur Landing page
CSS
1
star
26

blog

Blog with Ghost
Makefile
1
star
27

kubernetic-charts

Charts of Kubernetic
Mustache
1
star