Added RabbitMQ with clustering (#151)
This commit is contained in:
parent
a89ff15f01
commit
5045339bb5
6
templates/rabbitmq-3/0/README.md
Normal file
6
templates/rabbitmq-3/0/README.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
RabbitMQ 3.6.1 with easy Rancher clustering
|
||||||
|
===
|
||||||
|
Provides RabbitMQ image that can scale to a cluster.
|
||||||
|
|
||||||
|
TODO:
|
||||||
|
* avoid deployment on a node where the service is already present
|
27
templates/rabbitmq-3/0/docker-compose.yml
Executable file
27
templates/rabbitmq-3/0/docker-compose.yml
Executable file
@ -0,0 +1,27 @@
|
|||||||
|
rabbitmq:
|
||||||
|
image: rancher/rabbitmq-conf:v0.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
|
10
templates/rabbitmq-3/0/rancher-compose.yml
Executable file
10
templates/rabbitmq-3/0/rancher-compose.yml
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
.catalog:
|
||||||
|
name: "Rabbit MQ"
|
||||||
|
version: "0.1.0"
|
||||||
|
decription: A reliable, distributed messaging broker
|
||||||
|
rabbitmq:
|
||||||
|
metadata:
|
||||||
|
rabbitmq:
|
||||||
|
config:
|
||||||
|
node.name: "$${HOSTNAME}"
|
||||||
|
|
BIN
templates/rabbitmq-3/catalogIcon-rabbitmq.png
Executable file
BIN
templates/rabbitmq-3/catalogIcon-rabbitmq.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 4.0 KiB |
5
templates/rabbitmq-3/config.yml
Executable file
5
templates/rabbitmq-3/config.yml
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
name: RabbitMQ 3.6.1
|
||||||
|
description: |
|
||||||
|
Robust messaging for applications
|
||||||
|
version: 0.1.0
|
||||||
|
category: Message queues
|
Loading…
x
Reference in New Issue
Block a user