Skip to content

Add auto cluster support #121

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
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ script:
- ~/official-images/test/run.sh "$image"
- docker build -t "$image:management" management
- ~/official-images/test/run.sh "$image:management"
- docker build -t "$image:rabbitmq-autocluster" rabbitmq-autocluster
- ~/official-images/test/run.sh "$image:rabbitmq-autocluster"

after_script:
- docker images
Expand Down
11 changes: 11 additions & 0 deletions rabbitmq-autocluster/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM rabbitmq:management


ENV RABBITMQ_AUTOCLUSTER 0.6.1

RUN apt-get update -y && apt-get install -y wget && \
wget -qO- https://github.com/aweber/rabbitmq-autocluster/releases/download/$RABBITMQ_AUTOCLUSTER/autocluster-$RABBITMQ_AUTOCLUSTER.tgz | tar xvz -C /plugins/ --strip 1 && \
apt-get purge -y wget

RUN rabbitmq-plugins enable --offline autocluster

6 changes: 6 additions & 0 deletions rabbitmq-autocluster/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Support for RabbitMQ Autocluster
--

A RabbitMQ plugin that clusters nodes automatically using Consul, etcd2, DNS, AWS EC2 tags or AWS Autoscaling Groups for service discovery.

Read the [official page](https://github.com/aweber/rabbitmq-autocluster) for more details.