Removed Rancher NFS, not worth the hassle

This commit is contained in:
WilliamMiceli
2018-07-16 13:21:13 -04:00
parent 4b810a49a9
commit 02e84a5849

View File

@@ -35,8 +35,8 @@ services:
- "${HOST_HTTP_PORT}:80" - "${HOST_HTTP_PORT}:80"
restart: on-failure restart: on-failure
volumes: volumes:
- nextcloud_app:/var/www/html - /RancherStorage/Nextcloud/Application:/var/www/html
- nextcloud_data:/var/www/html/data - /RancherStorage/Nextcloud/UserData:/var/www/html/data
mysql: mysql:
image: mysql:5 image: mysql:5
@@ -56,23 +56,10 @@ services:
- nextcloud-net - nextcloud-net
restart: on-failure restart: on-failure
volumes: volumes:
- nextcloud_db:/var/lib/mysql - /RancherStorage/Nextcloud/Database:/var/lib/mysql
networks: networks:
nextcloud-net: nextcloud-net:
driver: bridge driver: bridge
public: public:
external: true external: true
volumes:
nextcloud_app:
driver: rancher-nfs
driver_opts:
onRemove: retain
nextcloud_data:
driver: rancher-nfs
driver_opts:
onRemove: retain
nextcloud_db:
driver: rancher-nfs
driver_opts:
onRemove: retain