Convert all RabbitMQ configs to nested

Change-Id: Ifd74ff24545a4d1019a4918b403b7b7b36237208
This commit is contained in:
Yuriy Taraday 2016-10-06 13:03:14 +03:00
parent 7d633af3ab
commit 03cdf01d93
4 changed files with 9 additions and 8 deletions

View File

@ -1,4 +1,5 @@
configs:
rabbitmq_port: 5672
rabbitmq_password: password
rabbitmq_user: rabbitmq
rabbitmq:
port: 5672
password: password
user: rabbitmq

View File

@ -1 +1 @@
{{ rabbitmq_password }}
{{ rabbitmq.password }}

View File

@ -1,10 +1,10 @@
[
{rabbit, [
{tcp_listeners, [
{"0.0.0.0", {{ rabbitmq_port }} }
{"0.0.0.0", {{ rabbitmq.port }} }
]},
{default_user, <<"{{ rabbitmq_user }}">>},
{default_pass, <<"{{ rabbitmq_password }}">>},
{default_user, <<"{{ rabbitmq.user }}">>},
{default_pass, <<"{{ rabbitmq.password }}">>},
{cluster_partition_handling, autoheal}
]}
].

View File

@ -1,7 +1,7 @@
service:
name: rabbitmq
ports:
- {{ rabbitmq_port }}
- {{ rabbitmq.port }}
containers:
- name: rabbitmq
image: rabbitmq