Syntax fix

This commit is contained in:
WilliamMiceli
2018-07-16 05:38:21 -04:00
parent 56db89cc74
commit 2dd2314a5e

View File

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