All Projects → joao-osilva → rabbitmq-cluster-docker-compose

joao-osilva / rabbitmq-cluster-docker-compose

Licence: MIT license
No description or website provided.

Projects that are alternatives of or similar to rabbitmq-cluster-docker-compose

Ansible Haproxy
Ansible role to set up (the latest version of) HAProxy in Ubuntu systems
Stars: ✭ 83 (+245.83%)
Mutual labels:  haproxy
Haproxy Configs
80+ HAProxy Configs for Hadoop, Big Data, NoSQL, Docker, Elasticsearch, SolrCloud, HBase, MySQL, PostgreSQL, Apache Drill, Hive, Presto, Impala, Hue, ZooKeeper, SSH, RabbitMQ, Redis, Riak, Cloudera, OpenTSDB, InfluxDB, Prometheus, Kibana, Graphite, Rancher etc.
Stars: ✭ 106 (+341.67%)
Mutual labels:  haproxy
Dataplaneapi
HAProxy Data Plane API
Stars: ✭ 152 (+533.33%)
Mutual labels:  haproxy
Voyager
🚀 Secure HAProxy Ingress Controller for Kubernetes
Stars: ✭ 1,276 (+5216.67%)
Mutual labels:  haproxy
Kubernetes Pfsense Controller
Integrate Kubernetes and pfSense
Stars: ✭ 100 (+316.67%)
Mutual labels:  haproxy
Ansible Role Haproxy
Ansible Role - HAProxy
Stars: ✭ 112 (+366.67%)
Mutual labels:  haproxy
Esa Restlight
ESA Restlight is a lightweight and rest-oriented web framework.
Stars: ✭ 67 (+179.17%)
Mutual labels:  haproxy
Kube2haproxy
High Availability HAProxy auto configuration and auto service discovery for Kubernetes.
Stars: ✭ 181 (+654.17%)
Mutual labels:  haproxy
Rpm Haproxy
HAproxy RPM spec and builds for CentOS 6/7
Stars: ✭ 103 (+329.17%)
Mutual labels:  haproxy
Go Proxyproto
A Go library implementation of the PROXY protocol, versions 1 and 2.
Stars: ✭ 151 (+529.17%)
Mutual labels:  haproxy
Haproxyadmin
A python library to interact with HAProxy over UNIX socket
Stars: ✭ 87 (+262.5%)
Mutual labels:  haproxy
Haproxy
🏎 Built-from-source container image of the HAProxy proxy and load balancer
Stars: ✭ 100 (+316.67%)
Mutual labels:  haproxy
Haproxy
Development repository for the haproxy cookbook
Stars: ✭ 138 (+475%)
Mutual labels:  haproxy
Docker Cloud Platform
使用Docker构建云平台,Docker云平台系列共三讲,Docker基础、Docker进阶、基于Docker的云平台方案。OpenStack+Docker+RestAPI+OAuth/HMAC+RabbitMQ/ZMQ+OpenResty/HAProxy/Nginx/APIGateway+Bootstrap/AngularJS+Ansible+K8S/Mesos/Marathon构建/探索微服务最佳实践。
Stars: ✭ 86 (+258.33%)
Mutual labels:  haproxy
Haproxy
HAProxy Load Balancer's development branch (mirror of git.haproxy.org)
Stars: ✭ 2,463 (+10162.5%)
Mutual labels:  haproxy
Haproxy Rest
REST interface for HAproxy written in GO
Stars: ✭ 79 (+229.17%)
Mutual labels:  haproxy
Redishappy
Redis Sentinel high availabillity daemon
Stars: ✭ 111 (+362.5%)
Mutual labels:  haproxy
Panteras
PanteraS - PaaS - Platform as a Service in a box
Stars: ✭ 189 (+687.5%)
Mutual labels:  haproxy
Zabbix Haproxy
HAProxy Zabbix Discovery and Template
Stars: ✭ 169 (+604.17%)
Mutual labels:  haproxy
Nuster
A high performance HTTP proxy cache server and RESTful NoSQL cache server based on HAProxy
Stars: ✭ 1,825 (+7504.17%)
Mutual labels:  haproxy

RabbitMQ cluster with Docker Compose

Creates a 3 node RabbitMQ cluster with a HAProxy acting as a load balancer.

You need to build the HAProxy image first, just run:

$ docker build -t haproxy-rabbitmq-cluster:1.7 .

Now run the docker compose file:

$ docker-compose up -d

check if the containers are running:

$ docker ps

Create the cluster by running:

$ docker exec -ti rabbitmq-node-2 bash -c "rabbitmqctl stop_app"
$ docker exec -ti rabbitmq-node-2 bash -c "rabbitmqctl join_cluster rabbit@rabbitmq-node-1"
$ docker exec -ti rabbitmq-node-2 bash -c "rabbitmqctl start_app"

$ docker exec -ti rabbitmq-node-3 bash -c "rabbitmqctl stop_app"
$ docker exec -ti rabbitmq-node-3 bash -c "rabbitmqctl join_cluster rabbit@rabbitmq-node-1"
$ docker exec -ti rabbitmq-node-3 bash -c "rabbitmqctl start_app"

Check the cluster status:

$ docker exec -ti rabbitmq-node-1 bash -c "rabbitmqctl cluster_status"

Access HAProxy statistics report at http://localhost:1936/haproxy?stats with the credential haproxy:haproxy, and the RabbitMQ console at http://localhost:15672/ with the credential admin:Admin@123.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].