Optional port for the shinyproxy metrics.

This commit is contained in:
Andrea Dell'Amico 2021-04-11 19:22:32 +02:00
parent 8603e97eb7
commit 340a2ed87e
1 changed files with 5 additions and 0 deletions

View File

@ -58,6 +58,11 @@ services:
- target: {{ docker_swarm_haproxy_swarm_port }}
published: {{ docker_swarm_haproxy_swarm_port }}
protocol: tcp
{% if docker_swarm_haproxy_shinyproxy_metrics is defined and docker_swarm_haproxy_shinyproxy_metrics %}
- target: 9090
published: 9090
protocol: tcp
{% endif %}
{% if docker_swarm_haproxy_installation_type == 'mesh' %}
mode: ingress
{% else %}