Fix bug when rendering port in proxy

rendering 443 when https enabled
rendering 4443 when notary enabled

Signed-off-by: Qian Deng <dengq@vmware.com>
This commit is contained in:
Qian Deng 2019-04-16 11:20:13 +08:00
parent 2eed72c445
commit 9ddfd259d3

View File

@ -261,8 +261,12 @@ services:
dns_search: .
ports:
- {{http_port}}:80
{% if protocol == 'https' %}
- {{https_port}}:443
{% endif %}
{% if with_notary %}
- 4443:4443
{% endif %}
depends_on:
- postgresql
- registry