Expose the plain http port when enabled.
This commit is contained in:
parent
6c84c9e089
commit
f468a48ffa
|
@ -45,6 +45,16 @@ services:
|
|||
mode: ingress
|
||||
{% else %}
|
||||
mode: host
|
||||
{% endif %}
|
||||
{% if haproxy_docker_swarm_plain_http_listener %}
|
||||
- target: {{ haproxy_docker_swarm_plain_http_port }}
|
||||
published: {{ haproxy_docker_swarm_plain_http_port }}
|
||||
protocol: tcp
|
||||
{% if docker_swarm_haproxy_installation_type == 'mesh' %}
|
||||
mode: ingress
|
||||
{% else %}
|
||||
mode: host
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
- target: {{ haproxy_admin_port }}
|
||||
published: {{ haproxy_admin_port }}
|
||||
|
|
Loading…
Reference in New Issue