Switching over to rancher-nfs

This commit is contained in:
WilliamMiceli
2018-08-07 20:40:24 -04:00
parent 709cfaf7be
commit c437f48782
2 changed files with 13 additions and 13 deletions

View File

@@ -22,4 +22,12 @@ services:
{{- end}}
restart: on-failure
volumes:
- ${STORAGE_BASE_DIR}${DATA_DIR}:/data
- Data:/data
volumes:
Data:
driver: rancher-nfs
driver_opts:
host: 10.0.10.21
export: /RancherCattleData/${DATA_DIR}/Data
onRemove: retain

View File

@@ -37,23 +37,15 @@ catalog:
label: "Webmin Port"
description: |
The port that the Webmin interface will be accessible on.
default: "10000"
default: "1100"
required: false
type: string
- variable: "STORAGE_BASE_DIR"
label: "Base Storage Directory"
description: |
The base path of where persistent storage should be kept at.
default: "/RancherStorage/Bind"
required: true
type: string
- variable: "DATA_DIR"
- variable: DATA_DIR
label: "Data Directory"
description: |
The path of where persistent data should be kept at.
default: "/Data"
The directory within the stack directory to store data
default: "Personal/Bind"
required: true
type: string