Sign inSign up

banno/docker-rabbitmq

By banno

•Updated almost 11 years ago

Image
0

565

banno/docker-rabbitmq repository overview

⁠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

Tag summary

Content type

Image

Digest

sha256:8e8dbf630…

Size

108.7 MB

Last updated

almost 11 years ago

docker pull banno/docker-rabbitmq