Switching over to rancher-nfs
This commit is contained in:
@@ -22,4 +22,12 @@ services:
|
|||||||
{{- end}}
|
{{- end}}
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
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
|
||||||
@@ -37,23 +37,15 @@ catalog:
|
|||||||
label: "Webmin Port"
|
label: "Webmin Port"
|
||||||
description: |
|
description: |
|
||||||
The port that the Webmin interface will be accessible on.
|
The port that the Webmin interface will be accessible on.
|
||||||
default: "10000"
|
default: "1100"
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
- variable: "STORAGE_BASE_DIR"
|
- variable: DATA_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"
|
|
||||||
label: "Data Directory"
|
label: "Data Directory"
|
||||||
description: |
|
description: |
|
||||||
The path of where persistent data should be kept at.
|
The directory within the stack directory to store data
|
||||||
default: "/Data"
|
default: "Personal/Bind"
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user