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