Files
zurg/docker-compose.yml
2024-05-26 01:59:06 +02:00

33 lines
1.1 KiB
YAML

version: '3.8'
services:
zurg:
# image: ghcr.io/debridmediamanager/zurg-testing:latest
build: .
restart: unless-stopped
ports:
- 9999:9999
volumes:
- ./config.yml:/app/config.yml
- ./data:/app/data
- ./dump:/app/dump
- ./plex_update2.sh:/app/plex_update2.sh
rclone:
image: rclone/rclone:latest
restart: unless-stopped
environment:
TZ: Europe/Berlin
PUID: 1000
PGID: 1000
volumes:
- /mnt/zurg:/data:rshared
- ./rclone.conf:/config/rclone/rclone.conf
cap_add:
- SYS_ADMIN
security_opt:
- apparmor:unconfined
devices:
- /dev/fuse
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"