Move nextcloud data dir to ZFS
This commit is contained in:
parent
5eb3870fbe
commit
ff72f5a25e
3 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ services:
|
|||
restart: unless-stopped
|
||||
volumes:
|
||||
- "{{ app_data_dir }}/calibre:/config"
|
||||
- /srv/nextcloud-data/data/jake/files/EBooks:/books:ro
|
||||
- /mnt/tank/files/ebooks:/books:ro
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.calibre.rule=Host(`calibre.jakehoward.tech`)
|
||||
|
|
|
@ -11,7 +11,7 @@ services:
|
|||
volumes:
|
||||
- "{{ app_data_dir }}/nextcloud/apps:/config/www/nextcloud/apps"
|
||||
- "{{ app_data_dir }}/nextcloud/config.php:/config/www/nextcloud/config/config.php"
|
||||
- /srv/nextcloud-data/data:/data
|
||||
- /mnt/tank/files/nextcloud:/data
|
||||
- /mnt/media:/content:ro
|
||||
- /mnt/tank/files:/mnt/files
|
||||
restart: unless-stopped
|
||||
|
|
|
@ -38,5 +38,5 @@
|
|||
cron:
|
||||
name: Set nextcloud data permissions
|
||||
special_time: daily
|
||||
job: chown -R {{ docker_user.name }}:{{ docker_user.name }} /srv/nextcloud-data/data/*
|
||||
job: chown -R {{ docker_user.name }}:{{ docker_user.name }} /mnt/tank/files/nextcloud
|
||||
become: true
|
||||
|
|
Loading…
Reference in a new issue