From 8fb81b07db0f2827593b6c6890319a62c70714ed Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Sun, 11 Apr 2021 17:39:54 +0200 Subject: [PATCH] Do not set ports when in dnsrr mode. --- templates/shinyproxy-docker-compose.yml.j2 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/templates/shinyproxy-docker-compose.yml.j2 b/templates/shinyproxy-docker-compose.yml.j2 index ca24e22..56b2656 100644 --- a/templates/shinyproxy-docker-compose.yml.j2 +++ b/templates/shinyproxy-docker-compose.yml.j2 @@ -23,10 +23,6 @@ services: {% endif %} {% else %} image: {{ shinyproxy_docker_image }} -{% if shinyproxy_expose_prometheus and shinyproxy_version is version_compare('2.5.0', '>=') %} - ports: - - {{ shinyproxy_prometheus_port }} -{% endif %} {% endif %} volumes: - /var/run/docker.sock:/var/run/docker.sock