Install RabbitMQ on Dokku

In a previous post, i explained how to package RabbitMQ and several plugins in a Docker Container, so this will be a followup which shows you how to deploy and configure the RabbitMQ Container on a dokku host.

This Post will not explain how to install Dokku itself – so i assume you have a Dokku environment configured and ready.

Prepare your deployment

The following Dockerfile uses the official RabbitMQ Container and extending it by activating the management and the MQTT plugin. If you don’t need MQTT the you can delete the line  RUN rabbitmq-plugins enable --offline rabbitmq_mqtt .

Now create a new directory containing the Dockerfile with the above contents and initialize a git repository.

Then add your dokku server via  git remote add dokku dokku@myserver.com:myhostname

DO NOT PUSH(!) your changes now, you have to do some configuration first!

(more…)

Read More

Dockerize RabbitMQ

You want to run RabbitMQ in a Docker environment? You want MQTT and a nice web interface for administration?

Just use the Dockerfile and the hints in this post to get your server up and running in no time!

Beware: There are two very important points to keep in mind! If you miss even one of these steps, you will loose your configuration and users on every restart!

(more…)

Read More