Named bind mounts don't work...
This commit is contained in:
@@ -19,8 +19,8 @@ services:
|
|||||||
traefik.enable: false
|
traefik.enable: false
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- Localtime:/etc/localtime:ro # Syncronize time of container with the host system
|
- /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system
|
||||||
- Timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
|
- /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
|
||||||
{{- end}}
|
{{- end}}
|
||||||
cron:
|
cron:
|
||||||
image: nextcloud:fpm-alpine
|
image: nextcloud:fpm-alpine
|
||||||
@@ -110,13 +110,15 @@ services:
|
|||||||
{{- end}}
|
{{- end}}
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- Localtime:/etc/localtime:ro # Syncronize time of container with the host system
|
- /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system
|
||||||
- Timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
|
- /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
|
||||||
- Apps:/var/www/html/custom_apps # Nextcloud apps
|
- /RancherCattle/${DATA_DIR}/Apps:/var/www/html/custom_apps # Nextcloud apps
|
||||||
- Configuration-Nextcloud:/var/www/html/config # Nextcloud configuration files
|
- /RancherCattle/${DATA_DIR}/Configuration/Nextcloud:/var/www/html/config # Nextcloud configuration files
|
||||||
- Configuration-NGINX:/etc/nginx # NGINX configuration files
|
- /RancherCattle/${DATA_DIR}/Configuration/NGINX:/etc/nginx # NGINX configuration files
|
||||||
- Nextcloud:/var/www/html # Nextcloud site
|
- /RancherCattle/${DATA_DIR}/Nextcloud:/var/www/html # Nextcloud site
|
||||||
- UserData:/var/www/html/data # Users' data file
|
- /RancherCattle/${DATA_DIR}/UserData:/var/www/html/data # Users' data file
|
||||||
|
#- /RancherCattle/${DATA_DIR}/Logs/Nextcloud
|
||||||
|
#- /RancherCattle/${DATA_DIR}/Logs/NGINX
|
||||||
mysql:
|
mysql:
|
||||||
image: mysql:5
|
image: mysql:5
|
||||||
dns: # Using Cloudflare DNS
|
dns: # Using Cloudflare DNS
|
||||||
@@ -136,9 +138,9 @@ services:
|
|||||||
traefik.enable: false
|
traefik.enable: false
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- Localtime:/etc/localtime:ro # Syncronize time of container with the host system
|
- /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system
|
||||||
- Timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
|
- /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
|
||||||
- Database:/var/lib/mysql
|
- /RancherCattle/${DATA_DIR}/Database:/var/lib/mysql
|
||||||
{{- if eq .Values.REDIS "true"}}
|
{{- if eq .Values.REDIS "true"}}
|
||||||
redis:
|
redis:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
@@ -153,58 +155,6 @@ services:
|
|||||||
traefik.enable: false
|
traefik.enable: false
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- Localtime:/etc/localtime:ro # Syncronize time of container with the host system
|
- /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system
|
||||||
- Timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
|
- /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
|
||||||
volumes:
|
|
||||||
Localtime:
|
|
||||||
driver_opts:
|
|
||||||
type: none
|
|
||||||
device: /etc/localtime
|
|
||||||
o: bind
|
|
||||||
Timezone:
|
|
||||||
driver_opts:
|
|
||||||
type: none
|
|
||||||
device: /etc/timezone
|
|
||||||
o: bind
|
|
||||||
Database:
|
|
||||||
driver_opts:
|
|
||||||
type: none
|
|
||||||
device: /RancherCattle/${DATA_DIR}/Database
|
|
||||||
o: bind
|
|
||||||
Configuration-Nextcloud:
|
|
||||||
driver_opts:
|
|
||||||
type: none
|
|
||||||
device: /RancherCattle/${DATA_DIR}/Configuration/Nextcloud
|
|
||||||
o: bind
|
|
||||||
Configuration-NGINX:
|
|
||||||
driver_opts:
|
|
||||||
type: none
|
|
||||||
device: /RancherCattle/${DATA_DIR}/Configuration/NGINX
|
|
||||||
o: bind
|
|
||||||
Apps:
|
|
||||||
driver_opts:
|
|
||||||
type: none
|
|
||||||
device: /RancherCattle/${DATA_DIR}/Apps
|
|
||||||
o: bind
|
|
||||||
Nextcloud:
|
|
||||||
driver_opts:
|
|
||||||
type: none
|
|
||||||
device: /RancherCattle/${DATA_DIR}/Nextcloud
|
|
||||||
o: bind
|
|
||||||
UserData:
|
|
||||||
driver_opts:
|
|
||||||
type: none
|
|
||||||
device: /RancherCattle/${DATA_DIR}/UserData
|
|
||||||
o: bind
|
|
||||||
Logs-Nextcloud:
|
|
||||||
driver_opts:
|
|
||||||
type: none
|
|
||||||
device: /RancherCattle/${DATA_DIR}/Logs/Nextcloud
|
|
||||||
o: bind
|
|
||||||
Logs-NGINX:
|
|
||||||
driver_opts:
|
|
||||||
type: none
|
|
||||||
device: /RancherCattle/${DATA_DIR}/Logs/NGINX
|
|
||||||
o: bind
|
|
||||||
Reference in New Issue
Block a user