don't expose ports unless requested
This commit is contained in:
parent
70aa1a7eaa
commit
30c7cfecc9
1 changed files with 6 additions and 2 deletions
|
@ -17,8 +17,10 @@ services:
|
|||
links:
|
||||
- mongo
|
||||
- qux-be
|
||||
{% if qux_fe_host_bind_port %}
|
||||
ports:
|
||||
- "{{ qux_fe_host_bind_port ~ ':8082' if qux_fe_host_bind_port else '8082' }}"
|
||||
- "{{ qux_fe_host_bind_port ~ ':8082' }}"
|
||||
{% endif %}
|
||||
depends_on:
|
||||
- qux-be
|
||||
labels:
|
||||
|
@ -54,8 +56,10 @@ services:
|
|||
environment:
|
||||
- QUX_SERVER=http://quant-ux-backend:8080/
|
||||
- QUX_SERVER_PORT=8086
|
||||
{% if qux_ws_host_bind_port %}
|
||||
ports:
|
||||
- "{{ qux_ws_host_bind_port ~ ':8086' if qux_ws_host_bind_port else '8086' }}"
|
||||
- "{{ qux_ws_host_bind_port ~ ':8086' }}"
|
||||
{% endif %}
|
||||
links:
|
||||
- qux-be
|
||||
depends_on:
|
||||
|
|
Loading…
Reference in a new issue