diff --git a/docker-compose.yml b/docker-compose.yml index 558349f..6dd8bac 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,6 +11,7 @@ services: - ./config.yml:/app/config.yml - ./data:/app/data - ./dump:/app/dump + - ./plex_update2.sh:/app/plex_update2.sh rclone: image: rclone/rclone:latest @@ -20,6 +21,7 @@ services: PUID: 1000 PGID: 1000 volumes: + - /mnt/zurg:/data:rshared - ./rclone.conf:/config/rclone/rclone.conf cap_add: - SYS_ADMIN @@ -27,4 +29,4 @@ services: - apparmor:unconfined devices: - /dev/fuse - command: "mount zurg: /data --allow-non-empty --allow-other --uid=1000 --gid=1000 --dir-cache-time 10s --read-only" + command: "mount zurg: /data --allow-non-empty --allow-other --attr-timeout 10y --buffer-size 4M --dir-cache-time 120s --poll-interval 60s --vfs-cache-max-age 2M --vfs-cache-max-size 2G --vfs-cache-min-free-space 200M --vfs-cache-mode full --vfs-cache-poll-interval 30s --vfs-disk-space-total-size 6G --vfs-fast-fingerprint --vfs-read-ahead 4M --vfs-read-chunk-size 8M --vfs-read-chunk-size-limit 0 --vfs-read-wait 5ms --vfs-refresh" diff --git a/internal/torrent/rclone mount flags.txt b/internal/torrent/rclone mount flags.txt index 9b130e6..ecda99f 100644 --- a/internal/torrent/rclone mount flags.txt +++ b/internal/torrent/rclone mount flags.txt @@ -1 +1 @@ -dir-cache-time=10s --vfs-cache-mode full --vfs-read-chunk-size 64M --vfs-read-chunk-size-limit 2G --buffer-size 52M --vfs-cache-max-age 150h --vfs-cache-max-size 370G --vfs-fast-fingerprint +--allow-non-empty --allow-other --attr-timeout 10y --buffer-size 4M --dir-cache-time 120s --poll-interval 60s --vfs-cache-max-age 2M --vfs-cache-max-size 2G --vfs-cache-min-free-space 200M --vfs-cache-mode full --vfs-cache-poll-interval 30s --vfs-disk-space-total-size 6G --vfs-fast-fingerprint --vfs-read-ahead 4M --vfs-read-chunk-size 8M --vfs-read-chunk-size-limit 0 --vfs-read-wait 5ms --vfs-refresh