Skip to content

Please add docker-compose environment variable CLUSTER_WITH to take a node name as input #164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mahi-kandiar opened this issue Jun 15, 2017 · 2 comments
Labels
Request Request for image modification or feature

Comments

@mahi-kandiar
Copy link

CLUSTER_WITH should take a host name and upon finding a hostname with that name, it should cluster with that node

@Gsantomaggio
Copy link
Contributor

Gsantomaggio commented Aug 21, 2017

You should consider using rabbitmq-autocluster plugin to create the clusters, instead CLUSTER_WITH variable

CLUSTER_WITH needs a node to bind the other nodes, with rabbitmq-autocluster you can use different backends and bind the nodes dynamically. So you don't need a "master cluster node".

Currently, it supports:

  • AWS EC2 tags
  • AWS Autoscaling Groups
  • Kubernetes
  • DNS A records
  • Consul
  • etcd

There are a couple of examples to use it on Kubernetes:

There is also an example with docker-compose

The full documentation is available here

The current version is 0.8.0

@wglambert wglambert added the Request Request for image modification or feature label Apr 25, 2018
@yosifkit
Copy link
Member

yosifkit commented Mar 5, 2019

Sorry for the long delay. We'd rather keep the scripts and config in the image as minimal as possible. See also #202 (comment) and linked issues.

Since the introduction of the 3.7 image, you can supply /etc/rabbitmq/rabbitmq.conf and the entrypoint will only add/sed supplied envs while leaving other lines in the file untouched (#197 (comment)).

@yosifkit yosifkit closed this as completed Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Request Request for image modification or feature
Projects
None yet
Development

No branches or pull requests

4 participants