A docker.io recipe for running rabbitmq 3.1.5
make clean
make
RABBITMQ_PASSWORD=ldap-rabbitmq-password make run
LDAP_SERVER=new.ldap.server RABBITMQ_PASSWORD=ldap-rabbitmq-password make run
DNS_SERVER=new.dns.server RABBITMQ_PASSWORD=ldap-rabbitmq-password make run
VHOSTS=eggs
or
VHOSTS_0=waffles
VHOSTS_1=pancakes
This assumes that you are running the PowerDNS server with the applicable clustering and hostname information at PDNSSERVER and are supplying a fully qualified domain name (FQDN) as the HOSTNAME parameter. Should a text record (TXT) exist for HOSTNAME on DNSSERVER with the words rabbitmq_cluster=${RABBITMASTER} the new rabbitmq node will attempt to cluster to RABBITMQMASTER.
To override local user passwords for ADMIMPASSWORD, PRODPASSWORD or WOTPASSWORD run:
ADMINPASSWORD=newpassword make run