diff --git a/templates/HTTPD/0/docker-compose.yml b/templates/HTTPD/0/docker-compose.yml index 05b0efe..fe600b5 100644 --- a/templates/HTTPD/0/docker-compose.yml +++ b/templates/HTTPD/0/docker-compose.yml @@ -31,8 +31,10 @@ services: ports: - "${WEB_PORT}:80" restart: on-failure - volumes: {{- if eq .Values.PERSIST_CONF "true"}} - - /RancherCattle/${DATA_DIR}/Configuration/httpd.conf:/usr/local/apache2/conf/httpd.conf {{- end}} + volumes: + {{- if eq .Values.PERSIST_CONF "true"}} + - /RancherCattle/${DATA_DIR}/Configuration/httpd.conf:/usr/local/apache2/conf/httpd.conf + {{- end}} - /RancherCattle/${DATA_DIR}/Public-HTML:/usr/local/apache2/htdocs/ networks: