ddmng 41a7cf8cf8 Changed repo base to rdaneel for RabbitMQ stack (#207)
* Added RabbitMQ with clustering

* Moved to `rdaneel` base repo on Docker hub

* Wrong tag for `rdaneel/rabbitmq-conf`
2016-07-01 08:42:41 -07:00

28 lines
753 B
YAML
Executable File

rabbitmq:
image: rdaneel/rabbitmq-conf:0.1.0
labels:
io.rancher.container.hostname_override: container_name
io.rancher.sidekicks: rabbitmq-base,rabbitmq-datavolume
volumes_from:
- rabbitmq-datavolume
rabbitmq-datavolume:
labels:
io.rancher.container.hostname_override: container_name
io.rancher.container.start_once: true
volumes:
- /etc/rabbitmq
- /opt/rancher/bin
entrypoint: /bin/true
image: rabbitmq:3.6.1-management
rabbitmq-base:
labels:
io.rancher.container.hostname_override: container_name
image: rabbitmq:3.6.1-management
volumes_from:
- rabbitmq-datavolume
net: "container:rabbitmq"
entrypoint:
- /opt/rancher/bin/run.sh
environment:
- RABBITMQ_ERLANG_COOKIE=secretcookie