Improvements in RabbitMQ stack (#280)
* Added RabbitMQ with clustering * Moved to `rdaneel` base repo on Docker hub * Wrong tag for `rdaneel/rabbitmq-conf` * merging @andyshinn and @inabhi9 work * merging @andyshinn and @inabhi9 work * erlang cookie moved under environment instead of entrypoint * added defaul cookie * Aligned to dockerfile description * bullets
This commit is contained in:
Executable
+33
@@ -0,0 +1,33 @@
|
||||
rabbitmq:
|
||||
image: rdaneel/rabbitmq-conf:0.2.0
|
||||
labels:
|
||||
io.rancher.container.hostname_override: container_name
|
||||
io.rancher.sidekicks: rabbitmq-base,rabbitmq-datavolume
|
||||
volumes_from:
|
||||
- rabbitmq-datavolume
|
||||
environment:
|
||||
- RABBITMQ_NET_TICKTIME=${net_ticktime}
|
||||
- RABBITMQ_CLUSTER_PARTITION_HANDLING=${cluster_partition_handling}
|
||||
- CONFD_ARGS=${confd_args}
|
||||
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-management
|
||||
rabbitmq-base:
|
||||
labels:
|
||||
io.rancher.container.hostname_override: container_name
|
||||
image: rabbitmq:3.6-management
|
||||
restart: always
|
||||
volumes_from:
|
||||
- rabbitmq-datavolume
|
||||
net: "container:rabbitmq"
|
||||
entrypoint:
|
||||
- /opt/rancher/bin/run.sh
|
||||
environment:
|
||||
- RABBITMQ_ERLANG_COOKIE=${erlang_cookie}
|
||||
|
||||
Reference in New Issue
Block a user