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:
|
links:
|
||||||
- mongo
|
- mongo
|
||||||
- qux-be
|
- qux-be
|
||||||
|
{% if qux_fe_host_bind_port %}
|
||||||
ports:
|
ports:
|
||||||
- "{{ qux_fe_host_bind_port ~ ':8082' if qux_fe_host_bind_port else '8082' }}"
|
- "{{ qux_fe_host_bind_port ~ ':8082' }}"
|
||||||
|
{% endif %}
|
||||||
depends_on:
|
depends_on:
|
||||||
- qux-be
|
- qux-be
|
||||||
labels:
|
labels:
|
||||||
|
@ -54,8 +56,10 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- QUX_SERVER=http://quant-ux-backend:8080/
|
- QUX_SERVER=http://quant-ux-backend:8080/
|
||||||
- QUX_SERVER_PORT=8086
|
- QUX_SERVER_PORT=8086
|
||||||
|
{% if qux_ws_host_bind_port %}
|
||||||
ports:
|
ports:
|
||||||
- "{{ qux_ws_host_bind_port ~ ':8086' if qux_ws_host_bind_port else '8086' }}"
|
- "{{ qux_ws_host_bind_port ~ ':8086' }}"
|
||||||
|
{% endif %}
|
||||||
links:
|
links:
|
||||||
- qux-be
|
- qux-be
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
Loading…
Reference in a new issue