Sign inSign up

rdaneel/rabbitmq-conf

By rdaneel

•Updated about 10 years ago

Rabbitmq confd image for deploying a cluster-ready RabbiMQ 3.6 on Rancher

Artifact
Image
2

50K+

rdaneel/rabbitmq-conf repository overview

⁠RabbitMQ 3.6 Rancher Docker image

This template creates and scales out a RabbitMQ 3.6 cluster.

Dockerfile is at https://github.com/ddmng/catalog-dockerfiles/tree/master/rabbitmq/0.1.0⁠

⁠How it works

The entrypoint calls confd to create /etc/rabbitmq/rabbitmq.config file; in the cluster_nodes directive lists all the running rabbitmq containers so that the node connects to the others and creates or joins the cluster at startup time.

After deploying the first container, you can scale the service adding new container via Rancher UI.

To access the management interface, point a balancer on the 15672 port of this service.

⁠Environment variables

The following environment variables are passed to confd in order to set up RabbitMQ's configuration file:

  • RABBITMQ_CLUSTER_PARTITION_HANDLING: RabbitMQ's cluster handling setting: default set to autoheal
  • RABBITMQ_NET_TICKTIME: adjusts the frequency of both tick messages and detection of failures: default set to 60
  • RABBITMQ_ERLANG_COOKIE: cookie to allow nodes communication: default set to defaultcookiepleasechange

Other two variables are available to fine-tune the cluster or test confd configuration:

  • ALTERNATE_CONF: overrides the whole default confd RabbitMQ template: default set to empty
  • CONFD_ARGS: additional confd args along with default --backend rancher --prefix /2015-07-25: default set to --interval 5

For 0.1.0 version see PR:

For 0.2.0 take a look at https://github.com/ddmng/catalog-dockerfiles/pull/1⁠

Tag summary

Content type

Unrecognized

Digest

Size

5.7 MB

Last updated

about 10 years ago

docker pull rdaneel/rabbitmq-conf