Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

rabbitmq dockerfile

Brings up a rabbitmq queue for use by other containers. inspired from tutumcloud/tutum-docker-rabbitmq

Usage

We've hosted this image over on the docker hub.

Differencesfrom tutumcloud/tutum-docker-rabbitmq

  • Customizable erlang cookie
  • Customizable username/password for rabbitmq
  • Uses DNS for hostname lookups

Things to know

  • rabbitmq env variables for user/pass should be specified at run time.
    • something like rabbit/rabbit would be good.
  • setting the hostname via docker is a really good idea, otherwise it'll be the short container id.
  • the .erlang.cookie is specified at build time.
    • this helps to ensure that we can keep it the same across machines.

Environmental Variables

rabbitmq

  • RABBITMQ_USER
  • RABBITMQ_PASS
  • RABBITMQ_NODENAME (defaults to eth0 ip)
  • RABBITMQ_VHOST (ex. "/sensu")
  • RABBITMQ_PORT (defaults to 5672)

erlang specific

  • ERLANG_COOKIE
  • INET_DIST_LISTEN_MIN (defaults to 55950)
  • INET_DIST_LISTEN_MAX (defaults to 55954)

Note: changing these variables will mean that you have to also update the ports exposed by the container

Ports exposed

  • 4369:4369 (erlang port mapper)
  • 5672:5672 (rabbitmq protocol)
  • 15672:15672 (rabbitmq admin dashboard)
  • 55950:55950 to 55954:55954 (erlang inet listen ports)

Building

Internally we've just been building the container with "rabbitmq" appended to the registry uri

Contributing

  1. Fork this project
  2. Create your feature branch
  3. Commit your changes
  4. Create a Pull Request

If we don't get to your PR in a timely fashion feel free to ping us.

Authors

  • Adam Shannon (adam.shannon@banno.com)
Docker Pull Command
Owner
banno
Source Repository

Comments (0)