From 0b15bfe6e6c7c98e291684662f07ffe615869b90 Mon Sep 17 00:00:00 2001 From: WilliamMiceli Date: Sun, 9 Dec 2018 14:33:15 -0500 Subject: [PATCH] Quotes needed; local port now optional --- templates/HTTPD/0/docker-compose.yml | 2 ++ templates/HTTPD/0/rancher-compose.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/templates/HTTPD/0/docker-compose.yml b/templates/HTTPD/0/docker-compose.yml index fe600b5..31529b3 100644 --- a/templates/HTTPD/0/docker-compose.yml +++ b/templates/HTTPD/0/docker-compose.yml @@ -28,8 +28,10 @@ services: {{- end}} networks: - public-proxy + {{- if .Values.WEB_PORT}} ports: - "${WEB_PORT}:80" + {{- end}} restart: on-failure volumes: {{- if eq .Values.PERSIST_CONF "true"}} diff --git a/templates/HTTPD/0/rancher-compose.yml b/templates/HTTPD/0/rancher-compose.yml index 98fde51..8c285ec 100644 --- a/templates/HTTPD/0/rancher-compose.yml +++ b/templates/HTTPD/0/rancher-compose.yml @@ -29,6 +29,7 @@ catalog: label: "Web Port" description: | The port to locally access the web interface on. + Leaving this blank will disable opening any port on the host system. default: "10900" required: true type: string