diff --git a/templates/Nextcloud/0/docker-compose.yml b/templates/Nextcloud/0/docker-compose.yml index 8dd0194..a6c204d 100644 --- a/templates/Nextcloud/0/docker-compose.yml +++ b/templates/Nextcloud/0/docker-compose.yml @@ -67,12 +67,18 @@ volumes: Application: driver: rancher-nfs driver_opts: + host: 10.0.10.21 + export: /RancherCattleData/${DATA_DIR}/Application onRemove: retain UserData: driver: rancher-nfs driver_opts: + host: 10.0.10.21 + export: /RancherCattleData/${DATA_DIR}/UserData onRemove: retain Database: driver: rancher-nfs driver_opts: + host: 10.0.10.21 + export: /RancherCattleData/${DATA_DIR}/Database onRemove: retain \ No newline at end of file diff --git a/templates/Nextcloud/0/rancher-compose.yml b/templates/Nextcloud/0/rancher-compose.yml index ce6f3fb..d20ad94 100644 --- a/templates/Nextcloud/0/rancher-compose.yml +++ b/templates/Nextcloud/0/rancher-compose.yml @@ -56,13 +56,13 @@ catalog: required: true type: password -# - variable: DATA_DIR -# label: "Data Directory" -# description: | -# The directory within the stack directory to store data -# default: "Nextcloud/Personal" -# required: true -# type: string + - variable: DATA_DIR + label: "Data Directory" + description: | + The directory within the stack directory to store data + default: "Nextcloud/Personal" + required: true + type: string services: nextcloud: