Ports configuration refactoring

Ports configuration has been changed:

before:

  port: 123:3333

after:

  port:
    cont: 123
    node: 3333

Change-Id: Ifaf713268cd9044939740fae008981599dbb285b
Depends-On: I54ab8dd02fc88b821a1f0d05c08f98b618730150
This commit is contained in:
Andrey Pavlov 2016-10-19 18:20:26 +00:00
parent 94245cdf86
commit a3b8ac92b8
3 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,7 @@
configs:
rabbitmq:
port: 5672
external_port: 32672
port:
cont: 5672
node: 32672
password: password
user: rabbitmq

View File

@ -1,7 +1,7 @@
[
{rabbit, [
{tcp_listeners, [
{"0.0.0.0", {{ rabbitmq.port }} }
{"0.0.0.0", {{ rabbitmq.port.cont }} }
]},
{default_user, <<"{{ rabbitmq.user }}">>},
{default_pass, <<"{{ rabbitmq.password }}">>},

View File

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