From d8a5c06378dae829b44bdbd0ed4593464eb7c2b6 Mon Sep 17 00:00:00 2001 From: disaster37 Date: Fri, 7 Apr 2017 15:07:16 +0000 Subject: [PATCH] Fix publish port on template --- templates/gocd/0/docker-compose.yml.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/gocd/0/docker-compose.yml.tpl b/templates/gocd/0/docker-compose.yml.tpl index e715f0a..dfec07f 100644 --- a/templates/gocd/0/docker-compose.yml.tpl +++ b/templates/gocd/0/docker-compose.yml.tpl @@ -36,7 +36,7 @@ services: - GOCD_PLUGIN_google-auth=https://github.com/gocd-contrib/gocd-oauth-login/releases/download/v2.3/google-oauth-login-2.3.jar - GOCD_PLUGIN_github-auth=https://github.com/gocd-contrib/gocd-oauth-login/releases/download/v2.3/github-oauth-login-2.3.jar {{- end}} - {{- if (ne .Values.DEPLOY_LB "true") and (ne .Values.PUBLISH_PORT "false")}} + {{- if and (ne .Values.DEPLOY_LB "true") (ne .Values.PUBLISH_PORT "false")}} ports: - ${PUBLISH_PORT}:8153 {{- end}}