Added NFS export options only. Seeing if I can get away without host.
This commit is contained in:
@@ -3,7 +3,7 @@ services:
|
|||||||
|
|
||||||
nextcloud:
|
nextcloud:
|
||||||
image: nextcloud:stable-apache
|
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
|
- mysql
|
||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
@@ -67,12 +67,15 @@ volumes:
|
|||||||
Nextcloud-Application:
|
Nextcloud-Application:
|
||||||
driver: rancher-nfs
|
driver: rancher-nfs
|
||||||
driver_opts:
|
driver_opts:
|
||||||
|
export: /RancherCattleData/$${STACK_NAME}/${DATA_DIR}/Application/
|
||||||
onRemove: retain
|
onRemove: retain
|
||||||
Nextcloud-UserData:
|
Nextcloud-UserData:
|
||||||
driver: rancher-nfs
|
driver: rancher-nfs
|
||||||
driver_opts:
|
driver_opts:
|
||||||
|
export: /RancherCattleData/$${STACK_NAME}/${DATA_DIR}/UserData/
|
||||||
onRemove: retain
|
onRemove: retain
|
||||||
Nextcloud-Database:
|
Nextcloud-Database:
|
||||||
driver: rancher-nfs
|
driver: rancher-nfs
|
||||||
driver_opts:
|
driver_opts:
|
||||||
|
export: /RancherCattleData/$${STACK_NAME}/${DATA_DIR}/Database/
|
||||||
onRemove: retain
|
onRemove: retain
|
||||||
@@ -28,6 +28,7 @@ catalog:
|
|||||||
label: "MySQL Root Password"
|
label: "MySQL Root Password"
|
||||||
description: |
|
description: |
|
||||||
A secure password to be used by the "root" MySQL user.
|
A secure password to be used by the "root" MySQL user.
|
||||||
|
# default:
|
||||||
required: true
|
required: true
|
||||||
type: password
|
type: password
|
||||||
|
|
||||||
@@ -35,6 +36,7 @@ catalog:
|
|||||||
label: "MySQL User Password"
|
label: "MySQL User Password"
|
||||||
description: |
|
description: |
|
||||||
A secure password to be used by the "nextcloud_user" MySQL user.
|
A secure password to be used by the "nextcloud_user" MySQL user.
|
||||||
|
# default:
|
||||||
required: true
|
required: true
|
||||||
type: password
|
type: password
|
||||||
|
|
||||||
@@ -42,6 +44,7 @@ catalog:
|
|||||||
label: "Nextcloud Admin Username"
|
label: "Nextcloud Admin Username"
|
||||||
description: |
|
description: |
|
||||||
The username of the Nextcloud admin user.
|
The username of the Nextcloud admin user.
|
||||||
|
# default:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
@@ -49,9 +52,18 @@ catalog:
|
|||||||
label: "Nextcloud Admin Password"
|
label: "Nextcloud Admin Password"
|
||||||
description: |
|
description: |
|
||||||
A secure password for the Nextcloud admin user.
|
A secure password for the Nextcloud admin user.
|
||||||
|
# default:
|
||||||
required: true
|
required: true
|
||||||
type: password
|
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:
|
services:
|
||||||
nextcloud:
|
nextcloud:
|
||||||
scale: 1
|
scale: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user