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
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ app_data_dir }}/calibre:/config"
|
- "{{ app_data_dir }}/calibre:/config"
|
||||||
- /srv/nextcloud-data/data/jake/files/EBooks:/books:ro
|
- /mnt/tank/files/ebooks:/books:ro
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.http.routers.calibre.rule=Host(`calibre.jakehoward.tech`)
|
- traefik.http.routers.calibre.rule=Host(`calibre.jakehoward.tech`)
|
||||||
|
|
|
@ -11,7 +11,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ app_data_dir }}/nextcloud/apps:/config/www/nextcloud/apps"
|
- "{{ app_data_dir }}/nextcloud/apps:/config/www/nextcloud/apps"
|
||||||
- "{{ app_data_dir }}/nextcloud/config.php:/config/www/nextcloud/config/config.php"
|
- "{{ 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/media:/content:ro
|
||||||
- /mnt/tank/files:/mnt/files
|
- /mnt/tank/files:/mnt/files
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
|
@ -38,5 +38,5 @@
|
||||||
cron:
|
cron:
|
||||||
name: Set nextcloud data permissions
|
name: Set nextcloud data permissions
|
||||||
special_time: daily
|
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
|
become: true
|
||||||
|
|
Loading…
Reference in a new issue