Browse Source

Expose Rabbitmq on external port

Change-Id: I712953c373102744a8672a31856ea7212571d8ee
Bartosz Kupidura 2 years ago
parent
commit
7cd537dba0
2 changed files with 2 additions and 1 deletions
  1. 1
    0
      service/files/defaults.yaml
  2. 1
    1
      service/rabbitmq.yaml

+ 1
- 0
service/files/defaults.yaml View File

@@ -1,5 +1,6 @@
1 1
 configs:
2 2
   rabbitmq:
3 3
     port: 5672
4
+    external_port: 32672
4 5
     password: password
5 6
     user: rabbitmq

+ 1
- 1
service/rabbitmq.yaml View File

@@ -1,7 +1,7 @@
1 1
 service:
2 2
   name: rabbitmq
3 3
   ports:
4
-    - {{ rabbitmq.port }}
4
+    - "{{ rabbitmq.port }}:{{ rabbitmq.external_port }}"
5 5
   containers:
6 6
     - name: rabbitmq
7 7
       image: rabbitmq

Loading…
Cancel
Save