From 2b53c6821f45c836ec1af9aa0c8d25f18746ca63 Mon Sep 17 00:00:00 2001 From: WilliamMiceli <9000802+WilliamMiceli@users.noreply.github.com> Date: Thu, 2 Aug 2018 19:34:53 -0400 Subject: [PATCH] One last go. --- templates/Nextcloud/0/docker-compose.yml | 6 ++++++ templates/Nextcloud/0/rancher-compose.yml | 14 +++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) 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: