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
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/zurg .
|
||||
RUN apk add --no-cache upx
|
||||
RUN upx --brute zurg
|
||||
# RUN apk add --no-cache upx
|
||||
# RUN upx --brute zurg
|
||||
|
||||
# Final stage
|
||||
FROM alpine:3
|
||||
@@ -24,7 +24,7 @@ WORKDIR /app
|
||||
COPY --from=obfuscator /app/zurg .
|
||||
|
||||
# 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
|
||||
RUN apk add --no-cache fuse3 \
|
||||
|
||||
@@ -2,16 +2,30 @@
|
||||
zurg: v1
|
||||
|
||||
token: YOUR_RD_API_TOKEN # https://real-debrid.com/apitoken
|
||||
|
||||
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
|
||||
concurrent_workers: 10
|
||||
check_for_changes_every_secs: 15
|
||||
info_cache_time_hours: 12
|
||||
|
||||
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: |
|
||||
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
|
||||
directories:
|
||||
@@ -2,7 +2,8 @@ version: '3.8'
|
||||
|
||||
services:
|
||||
zurg:
|
||||
image: ghcr.io/debridmediamanager/zurg-testing:latest
|
||||
# image: ghcr.io/debridmediamanager/zurg-testing:latest
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 9999:9999
|
||||
@@ -18,15 +19,31 @@ services:
|
||||
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:/dev/fuse:rwm
|
||||
- /dev/fuse
|
||||
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:
|
||||
zurgdata:
|
||||
|
||||
@@ -3,3 +3,8 @@ type = http
|
||||
url = http://zurg:9999/http
|
||||
no_head = false
|
||||
no_slash = false
|
||||
|
||||
[zurgwd]
|
||||
type = webdav
|
||||
url = http://zurg:9999
|
||||
vendor = other
|
||||
|
||||
Reference in New Issue
Block a user