Optional persistent configuration
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -33,6 +33,14 @@ catalog:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
- variable: "PERSIST_CONF"
|
||||
label: "Persistent Configuration"
|
||||
description: |
|
||||
Have a persistent httpd.conf file mounted.
|
||||
default: true
|
||||
required: true
|
||||
type: boolean
|
||||
|
||||
- variable: "DATA_DIR"
|
||||
label: "Data Directory"
|
||||
description: |
|
||||
|
||||
Reference in New Issue
Block a user