From cb65a043547962485a32d5ae5350b7c394c2f803 Mon Sep 17 00:00:00 2001 From: WilliamMiceli Date: Sun, 9 Dec 2018 16:45:46 -0500 Subject: [PATCH] Persistent config cannot be optional --- templates/Nginx/0/docker-compose.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/templates/Nginx/0/docker-compose.yml b/templates/Nginx/0/docker-compose.yml index d27b7c9..4bd10b8 100644 --- a/templates/Nginx/0/docker-compose.yml +++ b/templates/Nginx/0/docker-compose.yml @@ -34,10 +34,8 @@ services: {{- end}} restart: on-failure volumes: - {{- if eq .Values.PERSIST_CONF "true"}} - - /RancherCattle/${DATA_DIR}/Configuration/nginx.conf:/etc/nginx/nginx.conf - {{- end}} - - /RancherCattle/${DATA_DIR}/Public-HTML:/usr/share/nginx/html + - /RancherCattle/${DATA_DIR}/Configuration:/etc/nginx + - /RancherCattle/${DATA_DIR}/HTML:/usr/share/nginx/html networks: public-proxy: