From 693f8dde8a8f0ba34ed8821c4eb3991b3dc338af Mon Sep 17 00:00:00 2001 From: Ben Sarmiento Date: Mon, 23 Oct 2023 13:20:34 +0200 Subject: [PATCH] Update config templates --- config.yml.example | 31 ++++++------------------------- docker-compose.yml | 24 +++--------------------- 2 files changed, 9 insertions(+), 46 deletions(-) diff --git a/config.yml.example b/config.yml.example index 55ac8cd..e91c597 100644 --- a/config.yml.example +++ b/config.yml.example @@ -1,7 +1,7 @@ # Zurg configuration version zurg: v1 -token: YOUR_TOKEN_HERE +token: YOUR_RD_API_TOKEN # https://real-debrid.com/apitoken port: 9999 concurrent_workers: 10 check_for_changes_every_secs: 15 @@ -9,21 +9,17 @@ info_cache_time_hours: 12 # List of directory definitions and their filtering rules directories: - # Configuration for TV shows shows: group: media # directories on different groups have duplicates of the same torrent filters: - regex: /season[\s\.]?\d/i # Capture torrent names with the term 'season' in any case - - regex: /Saison[\s\.]?\d/i # For non-English namings - - regex: /stage[\s\.]?\d/i + - regex: /saison[\s\.]?\d/i # For non-English namings + - regex: /stagione[\s\.]?\d/i # if there's french, there should be italian too - regex: /s\d\d/i # Capture common season notations like S01, S02, etc. + - regex: /\btv/i # anything that has TV in it is a TV show, right? - contains: complete - contains: seasons - - id: ATUWVRF53X5DA - - contains_strict: PM19 - - contains_strict: Detective Conan Remastered - - contains_strict: Goblin Slayer # Configuration for movies movies: @@ -31,22 +27,7 @@ directories: filters: - regex: /.*/ # you cannot leave a directory without filters because it will not have any torrents in it - # Configuration for Dolby Vision content - "hd movies": - group: another - filters: - - regex: /\b2160|\b4k|\buhd|\bdovi|\bdolby.?vision|\bdv|\bremux/i # Matches abbreviations of 'dolby vision' - - "low quality": - group: another + "ALL MY STUFFS": + group: all # notice the group now is "all", which means it will have all the torrents of shows+movies combined because this directory is alone in this group filters: - regex: /.*/ - - # Configuration for children's content - kids: - group: kids - filters: - - contains: xxx # Ensures adult content is excluded - - id: XFPQ5UCMUVAEG # Specific inclusion by torrent ID - - id: VDRPYNRPQHEXC - - id: YELNX3XR5XJQM diff --git a/docker-compose.yml b/docker-compose.yml index 43a519f..1539ef0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.8' services: zurg: - image: debridmediamanager/zurg:latest + image: ghcr.io/debridmediamanager/zurg-testing:latest restart: unless-stopped ports: - 9999:9999 @@ -18,7 +18,7 @@ services: PUID: 1000 PGID: 1000 volumes: - - ./media:/data:rshared + - /mnt/zurg:/data:rshared - ./rclone.conf:/config/rclone/rclone.conf cap_add: - SYS_ADMIN @@ -26,25 +26,7 @@ services: - apparmor:unconfined devices: - /dev/fuse:/dev/fuse:rwm - command: "mount zurg: /data --allow-other --uid=1000 --gid=1000 --dir-cache-time 10s --read-only" - - rclonerd: - image: itstoggle/rclone_rd:latest - restart: unless-stopped - environment: - TZ: Europe/Berlin - PUID: 1000 - PGID: 1000 - volumes: - - ./media2:/data:rshared - - ./rclone.conf:/config/rclone/rclone.conf - command: "mount rd: /data --allow-other --uid=1000 --gid=1000 --dir-cache-time 10s --read-only" - devices: - - /dev/fuse:/dev/fuse:rwm - cap_add: - - SYS_ADMIN - security_opt: - - apparmor:unconfined + command: "mount zurg: /data --allow-non-empty --allow-other --uid=1000 --gid=1000 --dir-cache-time 10s --read-only" volumes: zurgdata: