Coder Social home page Coder Social logo

ypereirareis / docker-rabbitmq-ha-cluster Goto Github PK

View Code? Open in Web Editor NEW
106.0 9.0 35.0 2.74 MB

A docker stack to create, test and benchmark a rabbitmq cluster in high availability configuration. HAProxy, php workers, node failures, network partition, persistent messages.

Home Page: https://ypereirareis.github.io/blog/2017/04/03/rabbitmq-high-available-cluster-haproxy-docker/

License: MIT License

Makefile 23.13% PHP 57.11% Shell 14.24% Dockerfile 5.53%
rabbitmq cluster docker haproxy swarrot rabbitmq-bundle oldsound php-amqplib rabbitmq-cluster

docker-rabbitmq-ha-cluster's Introduction

πŸš€ Devops and Fullstack web developer πŸš€

  • πŸ”₯ πŸ”₯πŸ”₯ GCP, terraform, terramate, kubernetes, k9s πŸ”₯πŸ”₯πŸ”₯
  • 🌈 Working on CI/CD automation, monitoring and alerting, Mysql Replication, micro services,...
  • πŸš’ Using Ansible, Docker, Swarm, gitlab, RabbitMQ, ELK, Grafana, Prometheus, Symfony, API, graphQL, NodeJs and VueJS.
  • πŸ‡«πŸ‡· France > DrΓ΄me > Valence
  • 🐒 INSA Lyon Engineer

Passions

  • πŸ’» My Job
  • 🚲 Mountain bike
  • πŸͺ Cooking

docker-rabbitmq-ha-cluster's People

Contributors

ypereirareis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-rabbitmq-ha-cluster's Issues

can't access the management plugin interface

i follow in instructions and when i run make state get this output:

WARNING: The UID variable is not set. Defaulting to a blank string
rmq_haproxy_1 up
rmq_rmq1_1 up
rmq_rmq2_1 up
rmq_rmq3_1 up

but can't access the management plugin interface on browser on:
http://my-local-ip:1234
http://my-local-ip:1235
http://my-local-ip:1236

i think the problem might be on running container section. when i get docker ps i see the containers are up in 127.0.0.1:1236 form but correct form is 0.0.0.0:1234

ERROR: for composer Cannot create container for service composer: b'No command specified'

These issues are coming:

docker-compose up -d
WARNING: The UID variable is not set. Defaulting to a blank string.
WARNING: The Docker Engine you're using is running in swarm mode.

Compose does not use swarm mode to deploy services to multiple nodes in a swarm. All containers will be scheduled on the current node.

To deploy your application across the swarm, use docker stack deploy.

docker-rabbitmq-ha-cluster_rmq2_1 is up-to-date
docker-rabbitmq-ha-cluster_rmq1_1 is up-to-date
Starting docker-rabbitmq-ha-cluster_php_1 ...
docker-rabbitmq-ha-cluster_rmq3_1 is up-to-date
docker-rabbitmq-ha-cluster_rmqN_1 is up-to-date
docker-rabbitmq-ha-cluster_haproxy_1 is up-to-date
Creating docker-rabbitmq-ha-cluster_composer_1 ... error
Starting docker-rabbitmq-ha-cluster_php_1 ... error
ERROR: for docker-rabbitmq-ha-cluster_composer_1 Cannot create container for service composer: b'No command specified'

ERROR: for docker-rabbitmq-ha-cluster_php_1 Cannot start service php: b'OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"/Users/dockers/docker-rabbitmq-ha-cluster/var/logs/app\\\" to rootfs \\\"/var/lib/docker/overlay2/a67364c03e8da196a3b89f07a6be4c57761b00216d0c975480a64bdfd566f0cd/merged\\\" at \\\"/var/lib/docker/overlay2/a67364c03e8da196a3b89f07a6be4c57761b00216d0c975480a64bdfd566f0cd/merged/var/www/html/var/logs\\\" caused \\\"mkdir /var/lib/docker/overlay2/a67364c03e8da196a3b89f07a6be4c57761b00216d0c975480a64bdfd566f0cd/merged/var/www/html/var: permission denied\\\"\"": unknown'

ERROR: for composer Cannot create container for service composer: b'No command specified'

ERROR: for php Cannot start service php: b'OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"/Users/dockers/docker-rabbitmq-ha-cluster/var/logs/app\\\" to rootfs \\\"/var/lib/docker/overlay2/a67364c03e8da196a3b89f07a6be4c57761b00216d0c975480a64bdfd566f0cd/merged\\\" at \\\"/var/lib/docker/overlay2/a67364c03e8da196a3b89f07a6be4c57761b00216d0c975480a64bdfd566f0cd/merged/var/www/html/var/logs\\\" caused \\\"mkdir /var/lib/docker/overlay2/a67364c03e8da196a3b89f07a6be4c57761b00216d0c975480a64bdfd566f0cd/merged/var/www/html/var: permission denied\\\"\"": unknown'
ERROR: Encountered errors while bringing up the project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.