Update config templates

This commit is contained in:
Ben Sarmiento
2023-10-23 13:20:34 +02:00
parent 29cbab716c
commit 693f8dde8a
2 changed files with 9 additions and 46 deletions

View File

@@ -1,7 +1,7 @@
# Zurg configuration version # Zurg configuration version
zurg: v1 zurg: v1
token: YOUR_TOKEN_HERE token: YOUR_RD_API_TOKEN # https://real-debrid.com/apitoken
port: 9999 port: 9999
concurrent_workers: 10 concurrent_workers: 10
check_for_changes_every_secs: 15 check_for_changes_every_secs: 15
@@ -9,21 +9,17 @@ info_cache_time_hours: 12
# List of directory definitions and their filtering rules # List of directory definitions and their filtering rules
directories: directories:
# Configuration for TV shows # Configuration for TV shows
shows: shows:
group: media # directories on different groups have duplicates of the same torrent group: media # directories on different groups have duplicates of the same torrent
filters: filters:
- regex: /season[\s\.]?\d/i # Capture torrent names with the term 'season' in any case - 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: /saison[\s\.]?\d/i # For non-English namings
- regex: /stage[\s\.]?\d/i - 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: /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: complete
- contains: seasons - contains: seasons
- id: ATUWVRF53X5DA
- contains_strict: PM19
- contains_strict: Detective Conan Remastered
- contains_strict: Goblin Slayer
# Configuration for movies # Configuration for movies
movies: movies:
@@ -31,22 +27,7 @@ directories:
filters: filters:
- regex: /.*/ # you cannot leave a directory without filters because it will not have any torrents in it - regex: /.*/ # you cannot leave a directory without filters because it will not have any torrents in it
# Configuration for Dolby Vision content "ALL MY STUFFS":
"hd movies": 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
group: another
filters:
- regex: /\b2160|\b4k|\buhd|\bdovi|\bdolby.?vision|\bdv|\bremux/i # Matches abbreviations of 'dolby vision'
"low quality":
group: another
filters: filters:
- regex: /.*/ - 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

View File

@@ -2,7 +2,7 @@ version: '3.8'
services: services:
zurg: zurg:
image: debridmediamanager/zurg:latest image: ghcr.io/debridmediamanager/zurg-testing:latest
restart: unless-stopped restart: unless-stopped
ports: ports:
- 9999:9999 - 9999:9999
@@ -18,7 +18,7 @@ services:
PUID: 1000 PUID: 1000
PGID: 1000 PGID: 1000
volumes: volumes:
- ./media:/data:rshared - /mnt/zurg:/data:rshared
- ./rclone.conf:/config/rclone/rclone.conf - ./rclone.conf:/config/rclone/rclone.conf
cap_add: cap_add:
- SYS_ADMIN - SYS_ADMIN
@@ -26,25 +26,7 @@ services:
- apparmor:unconfined - apparmor:unconfined
devices: devices:
- /dev/fuse:/dev/fuse:rwm - /dev/fuse:/dev/fuse:rwm
command: "mount zurg: /data --allow-other --uid=1000 --gid=1000 --dir-cache-time 10s --read-only" command: "mount zurg: /data --allow-non-empty --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
volumes: volumes:
zurgdata: zurgdata: