Optional persistent configuration

This commit is contained in:
WilliamMiceli
2018-12-09 14:22:16 -05:00
parent b5ea89de27
commit 1e8e640539
2 changed files with 10 additions and 0 deletions

View File

@@ -32,7 +32,9 @@ services:
- "${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}}
- /RancherCattle/${DATA_DIR}/Public-HTML:/usr/local/apache2/htdocs/
networks: