Move nextcloud data dir to ZFS

This commit is contained in:
Jake Howard 2020-10-24 14:26:30 +01:00
parent 5eb3870fbe
commit ff72f5a25e
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 3 additions and 3 deletions

View file

@ -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`)

View file

@ -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

View file

@ -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