Rancher-nfs now functional
This commit is contained in:
@@ -35,8 +35,8 @@ services:
|
||||
- "${HOST_HTTP_PORT}:80"
|
||||
restart: on-failure
|
||||
volumes:
|
||||
- ${STORAGE_BASE_DIR}${APP_DIR}:/var/www/html
|
||||
- ${STORAGE_BASE_DIR}${DATA_DIR}:/var/www/html/data
|
||||
- nextcloud_app:/var/www/html
|
||||
- nextcloud_data:/var/www/html/data
|
||||
|
||||
mysql:
|
||||
image: mysql:5
|
||||
@@ -56,10 +56,23 @@ services:
|
||||
- nextcloud-net
|
||||
restart: on-failure
|
||||
volumes:
|
||||
- ${STORAGE_BASE_DIR}${DB_DIR}:/var/lib/mysql
|
||||
- nextcloud_db:/var/lib/mysql
|
||||
|
||||
networks:
|
||||
nextcloud-net:
|
||||
driver: bridge
|
||||
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
|
||||
@@ -24,38 +24,6 @@ catalog:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
- variable: STORAGE_BASE_DIR
|
||||
label: "Base Storage Directory"
|
||||
description: |
|
||||
The base path of where persistent storage should be kept at.
|
||||
default: "/RancherStorage/Nextcloud"
|
||||
required: true
|
||||
type: string
|
||||
|
||||
- variable: APP_DIR
|
||||
label: "Application Files Directory"
|
||||
description: |
|
||||
The folder for persistent logo files.
|
||||
default: "/Application"
|
||||
required: true
|
||||
type: string
|
||||
|
||||
- variable: DATA_DIR
|
||||
label: "User Data Directory"
|
||||
description: |
|
||||
The folder for persistent user data.
|
||||
default: "/UserData"
|
||||
required: true
|
||||
type: string
|
||||
|
||||
- variable: DB_DIR
|
||||
label: "Database Directory"
|
||||
description: |
|
||||
The folder for persistent database files.
|
||||
default: "/Database"
|
||||
required: true
|
||||
type: string
|
||||
|
||||
- variable: DB_ROOT_PASS
|
||||
label: "MySQL Root Password"
|
||||
description: |
|
||||
|
||||
Reference in New Issue
Block a user