Some logistic changes
This commit is contained in:
@@ -13,8 +13,8 @@ RUN go build -o zurg cmd/zurg/main.go
|
|||||||
FROM alpine:3 AS obfuscator
|
FROM alpine:3 AS obfuscator
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder /app/zurg .
|
COPY --from=builder /app/zurg .
|
||||||
RUN apk add --no-cache upx
|
# RUN apk add --no-cache upx
|
||||||
RUN upx --brute zurg
|
# RUN upx --brute zurg
|
||||||
|
|
||||||
# Final stage
|
# Final stage
|
||||||
FROM alpine:3
|
FROM alpine:3
|
||||||
@@ -24,7 +24,7 @@ WORKDIR /app
|
|||||||
COPY --from=obfuscator /app/zurg .
|
COPY --from=obfuscator /app/zurg .
|
||||||
|
|
||||||
# Copy the rest of the application files, including the config.yml
|
# Copy the rest of the application files, including the config.yml
|
||||||
COPY config.yml.example /app/config.yml
|
COPY config.example.yml /app/config.yml
|
||||||
|
|
||||||
# Install runtime dependencies and configure FUSE
|
# Install runtime dependencies and configure FUSE
|
||||||
RUN apk add --no-cache fuse3 \
|
RUN apk add --no-cache fuse3 \
|
||||||
|
|||||||
@@ -2,16 +2,30 @@
|
|||||||
zurg: v1
|
zurg: v1
|
||||||
|
|
||||||
token: YOUR_RD_API_TOKEN # https://real-debrid.com/apitoken
|
token: YOUR_RD_API_TOKEN # https://real-debrid.com/apitoken
|
||||||
|
|
||||||
host: "[::]" # do not change this if you are running it inside a docker container
|
host: "[::]" # do not change this if you are running it inside a docker container
|
||||||
port: 9999 # do not change this if you are running it inside a docker container
|
port: 9999 # do not change this if you are running it inside a docker container
|
||||||
concurrent_workers: 10
|
concurrent_workers: 10
|
||||||
check_for_changes_every_secs: 15
|
check_for_changes_every_secs: 15
|
||||||
info_cache_time_hours: 12
|
info_cache_time_hours: 12
|
||||||
|
|
||||||
enable_repair: true # BEWARE! THERE CAN ONLY BE 1 INSTANCE OF ZURG THAT SHOULD REPAIR YOUR TORRENTS
|
enable_repair: true # BEWARE! THERE CAN ONLY BE 1 INSTANCE OF ZURG THAT SHOULD REPAIR YOUR TORRENTS
|
||||||
|
retain_folder_name_extension: false # if true, the folder name will contain the file extension when it is a torrent for a single file
|
||||||
|
# use this to update your Plex library for example
|
||||||
on_library_update: |
|
on_library_update: |
|
||||||
echo "hook"
|
echo "hook"
|
||||||
network_buffer_size: 32768 # 32KB
|
|
||||||
retain_folder_name_extension: false # if true, the folder name will contain the file extension when it is a torrent for a single file
|
network_buffer_size: 1048576 # 1 MiB
|
||||||
|
preferred_hosts: # Run the script here https://github.com/debridmediamanager/real-debrid-network-test
|
||||||
|
- 20.download.real-debrid.com
|
||||||
|
- 21.download.real-debrid.com
|
||||||
|
- 22.download.real-debrid.com
|
||||||
|
- 23.download.real-debrid.com
|
||||||
|
- 30.download.real-debrid.com
|
||||||
|
- 31.download.real-debrid.com
|
||||||
|
- 32.download.real-debrid.com
|
||||||
|
- 34.download.real-debrid.com
|
||||||
|
- 40.download.real-debrid.com
|
||||||
|
|
||||||
# List of directory definitions and their filtering rules
|
# List of directory definitions and their filtering rules
|
||||||
directories:
|
directories:
|
||||||
@@ -2,7 +2,8 @@ version: '3.8'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
zurg:
|
zurg:
|
||||||
image: ghcr.io/debridmediamanager/zurg-testing:latest
|
# image: ghcr.io/debridmediamanager/zurg-testing:latest
|
||||||
|
build: .
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 9999:9999
|
- 9999:9999
|
||||||
@@ -18,15 +19,31 @@ services:
|
|||||||
PUID: 1000
|
PUID: 1000
|
||||||
PGID: 1000
|
PGID: 1000
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/zurg:/data:rshared
|
|
||||||
- ./rclone.conf:/config/rclone/rclone.conf
|
- ./rclone.conf:/config/rclone/rclone.conf
|
||||||
cap_add:
|
cap_add:
|
||||||
- SYS_ADMIN
|
- SYS_ADMIN
|
||||||
security_opt:
|
security_opt:
|
||||||
- apparmor:unconfined
|
- apparmor:unconfined
|
||||||
devices:
|
devices:
|
||||||
- /dev/fuse:/dev/fuse:rwm
|
- /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 --uid=1000 --gid=1000 --dir-cache-time 10s --read-only"
|
||||||
|
|
||||||
|
rclonewd:
|
||||||
|
image: rclone/rclone:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
TZ: Europe/Berlin
|
||||||
|
PUID: 1000
|
||||||
|
PGID: 1000
|
||||||
|
volumes:
|
||||||
|
- ./rclone.conf:/config/rclone/rclone.conf
|
||||||
|
cap_add:
|
||||||
|
- SYS_ADMIN
|
||||||
|
security_opt:
|
||||||
|
- apparmor:unconfined
|
||||||
|
devices:
|
||||||
|
- /dev/fuse
|
||||||
|
command: "mount zurgwd: /data --allow-non-empty --allow-other --uid=1000 --gid=1000 --dir-cache-time 10s --read-only"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
zurgdata:
|
zurgdata:
|
||||||
|
|||||||
@@ -3,3 +3,8 @@ type = http
|
|||||||
url = http://zurg:9999/http
|
url = http://zurg:9999/http
|
||||||
no_head = false
|
no_head = false
|
||||||
no_slash = false
|
no_slash = false
|
||||||
|
|
||||||
|
[zurgwd]
|
||||||
|
type = webdav
|
||||||
|
url = http://zurg:9999
|
||||||
|
vendor = other
|
||||||
|
|||||||
Reference in New Issue
Block a user