diff --git a/templates/shinyproxy-docker-compose.yml.j2 b/templates/shinyproxy-docker-compose.yml.j2 index ee5c603..1599fd4 100644 --- a/templates/shinyproxy-docker-compose.yml.j2 +++ b/templates/shinyproxy-docker-compose.yml.j2 @@ -18,7 +18,7 @@ services: build: . ports: - target: {{ shinyproxy_http_port }} - published: :{{ shinyproxy_http_port }} + published: {{ shinyproxy_http_port }} protocol: tcp mode: 'host' {% if shinyproxy_expose_prometheus and shinyproxy_version is version_compare('2.5.0', '>=') %} @@ -32,7 +32,7 @@ services: {% if not shinyproxy_docker_swarm_behind_haproxy %} ports: - target: {{ shinyproxy_http_port }} - published: :{{ shinyproxy_http_port }} + published: {{ shinyproxy_http_port }} protocol: tcp mode: '{{ shinyproxy_docker_http_port_mode }}' {% if shinyproxy_expose_prometheus and shinyproxy_version is version_compare('2.5.0', '>=') %}