From de7a4cec8e0b4162d63325e98827be7a8b6b0784 Mon Sep 17 00:00:00 2001 From: WilliamMiceli Date: Sun, 9 Dec 2018 20:23:38 -0500 Subject: [PATCH] Various minor additions --- templates/Nextcloud/0/docker-compose.yml | 8 +++++--- templates/Nextcloud/0/rancher-compose.yml | 10 ++-------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/templates/Nextcloud/0/docker-compose.yml b/templates/Nextcloud/0/docker-compose.yml index ba2e3a3..398c47c 100644 --- a/templates/Nextcloud/0/docker-compose.yml +++ b/templates/Nextcloud/0/docker-compose.yml @@ -68,9 +68,11 @@ services: volumes: - /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system - /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system - - /RancherCattle/${DATA_DIR}/Configuration/NGINX:/etc/nginx - - /RancherCattle/${DATA_DIR}/Nextcloud:/var/www/html - - /RancherCattle/${DATA_DIR}/UserData:/var/www/html/data + - /RancherCattle/${DATA_DIR}/Configuration/Nextcloud:/var/www/html/config # Nextcloud configuration files + - /RancherCattle/${DATA_DIR}/Configuration/NGINX:/etc/nginx # NGINX configuration files + - /RancherCattle/${DATA_DIR}/Apps:/var/www/html/custom_apps # Nextcloud apps + - /RancherCattle/${DATA_DIR}/Nextcloud:/var/www/html # Nextcloud site + - /RancherCattle/${DATA_DIR}/UserData:/var/www/html/data # Users' data file mysql: image: mysql:5 dns: diff --git a/templates/Nextcloud/0/rancher-compose.yml b/templates/Nextcloud/0/rancher-compose.yml index ea4de32..f9dbd1e 100644 --- a/templates/Nextcloud/0/rancher-compose.yml +++ b/templates/Nextcloud/0/rancher-compose.yml @@ -78,12 +78,6 @@ catalog: label: "Data Directory" description: | The directory to store persistent data for the stack. - default: "Personal/Nextcloud-Experimental" + default: "Personal-Experimental/Nextcloud" required: true - type: string - -services: - nextcloud: - scale: 1 - mysql: - scale: 1 \ No newline at end of file + type: string \ No newline at end of file