Point nextcloud to NFS
This commit is contained in:
parent
4ca3c12c8f
commit
53b1a425e7
|
@ -48,7 +48,7 @@ services:
|
||||||
- db
|
- db
|
||||||
- redis
|
- redis
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/var/www/html
|
- nextcloud_data:/var/www/html
|
||||||
- ./custom-php.ini:/usr/local/etc/php/conf.d/zzz-custom.ini
|
- ./custom-php.ini:/usr/local/etc/php/conf.d/zzz-custom.ini
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
|
@ -62,8 +62,15 @@ services:
|
||||||
image: nextcloud@sha256:fbc625b4f744750443930c9e76e757a6eaa28789f6ab0a3e8f34658717f132dd #23.0.3-apache
|
image: nextcloud@sha256:fbc625b4f744750443930c9e76e757a6eaa28789f6ab0a3e8f34658717f132dd #23.0.3-apache
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/var/www/html
|
- nextcloud_data:/var/www/html
|
||||||
entrypoint: /cron.sh
|
entrypoint: /cron.sh
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- redis
|
- redis
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
nextcloud_data:
|
||||||
|
driver_opts:
|
||||||
|
type: "nfs"
|
||||||
|
o: "addr=10.7.89.108,nolock,hard,rw,vers=4.1"
|
||||||
|
device: ":/server_data/nextcloud/data"
|
||||||
|
|
Reference in New Issue