Added NFS export options only. Seeing if I can get away without host.

This commit is contained in:
WilliamMiceli
2018-08-02 17:52:26 -04:00
parent adcb711141
commit 2e97c56578
2 changed files with 16 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ services:
nextcloud:
image: nextcloud:stable-apache
depends_on:
depends_on: # Hopefully one day I'll upgrade to a rancher version that actually makes use of this. Here just for a future reminder.
- mysql
dns:
- 1.1.1.1
@@ -67,12 +67,15 @@ volumes:
Nextcloud-Application:
driver: rancher-nfs
driver_opts:
export: /RancherCattleData/$${STACK_NAME}/${DATA_DIR}/Application/
onRemove: retain
Nextcloud-UserData:
driver: rancher-nfs
driver_opts:
export: /RancherCattleData/$${STACK_NAME}/${DATA_DIR}/UserData/
onRemove: retain
Nextcloud-Database:
driver: rancher-nfs
driver_opts:
export: /RancherCattleData/$${STACK_NAME}/${DATA_DIR}/Database/
onRemove: retain

View File

@@ -28,6 +28,7 @@ catalog:
label: "MySQL Root Password"
description: |
A secure password to be used by the "root" MySQL user.
# default:
required: true
type: password
@@ -35,6 +36,7 @@ catalog:
label: "MySQL User Password"
description: |
A secure password to be used by the "nextcloud_user" MySQL user.
# default:
required: true
type: password
@@ -42,6 +44,7 @@ catalog:
label: "Nextcloud Admin Username"
description: |
The username of the Nextcloud admin user.
# default:
required: true
type: string
@@ -49,9 +52,18 @@ catalog:
label: "Nextcloud Admin Password"
description: |
A secure password for the Nextcloud admin user.
# default:
required: true
type: password
- variable: DATA_DIR
label: "Data Directory"
description: |
The directory within the stack directory to store data
default: "Personal"
required: true
type: string
services:
nextcloud:
scale: 1