A simple tool to download files from a seedbox/server which has an nginx index of links
- Docker on client/home server
- Deluge setup and running (tutorial if you need it.) with both labels and execute plugins enabled (reboot first if first time install).
- All links need to contain the search word in the url for DelugeSync to pick it up from the profiles
Setup rabbitMQ
More info (if you want) here.
Don't forget to change <username>
and <password>
to you own!
rabbitmq:
image: rabbitmq:management
container_name: rabbitmq
hostname: rabbitmq
ports:
- "4369:4369"
- "5671:5671"
- "5672:5672"
- "15671:15671"
- "15672:15672"
- "25672:25672"
environment:
RABBITMQ_DEFAULT_USER: <username>
RABBITMQ_DEFAULT_PASS: <password>
restart: unless-stopped
Setup amqp-publish
Here is an easy command you can run on the server:
wget https://github.com/selency/amqp-publish/releases/download/v1.0.0/amqp-publish.linux-amd64 -O /usr/local/bin/amqp-publish
While not a requirement, it will make it easier to filter out downloads in deluge - making for a cleaner deluge UI as well.
the label names are irrelevant - just make sure your path includes the name of the search profile ie includes "sonarr" or "radarr"
Not a fan - here's a tutorial.
https://github.com/Plexmation/DelugeSync.git
cd DelugeSync/
Build context is set within the yml, make sure to change capital variables
local.docker-compose.yml source:
version: "3"
services:
delugesync-local:
container_name: delugesync-local
build:
context: .
dockerfile: ./Dockerfile
networks:
- delugesync1
volumes:
- /opt/ProgramData/DelugeSync:/app/files
environment:
- RabbitMQ__UserName=USERNAME #required
- RabbitMQ__Password=PASSWORD #required
- RabbitMQ__HostName=HOSTNAME #required
- RabbitMQ__VirtualHost=/ #optional
- RabbitMQ__Port=5672 #optional
- RabbitMQ__Queue=deluge-queue #optional
- DownloadProfiles__HTTP__UserName=USERNAME #required
- DownloadProfiles__HTTP__Password=PASSWORD #required
- DownloadProfiles__HTTP__BaseUrl=https://downloads.mydomain.example/ #required
- DownloadProfiles__HTTP__DownloadChunks=16 #optional
- DownloadProfiles__HTTP__MaxConnections=1000 #optional
- DownloadProfiles__HTTP__ConnectionIdleTimeout=10 #optional
- General__LocalSaveLocation=files #optional
- General__CreateSubDirectories=true #optional
networks:
delugesync1:
driver: bridge
build and run:
sudo docker-compose -f local.docker-compose.yml up -d
version: "3"
services:
delugesync:
container_name: delugesync
image: ghcr.io/plexmation/delugesync:master
networks:
- delugesync0
volumes:
- /opt/ProgramData/DelugeSync:/app/files
environment:
- RabbitMQ__UserName=USERNAME #required
- RabbitMQ__Password=PASSWORD #required
- RabbitMQ__HostName=HOSTNAME #required
- RabbitMQ__VirtualHost=/ #optional
- RabbitMQ__Port=5672 #optional
- RabbitMQ__Queue=deluge-queue #optional
- DownloadProfiles__HTTP__UserName=USERNAME #required
- DownloadProfiles__HTTP__Password=PASSWORD #required
- DownloadProfiles__HTTP__BaseUrl=https://downloads.mydomain.example/ #required
- DownloadProfiles__HTTP__DownloadChunks=16 #optional
- DownloadProfiles__HTTP__MaxConnections=1000 #optional
- DownloadProfiles__HTTP__ConnectionIdleTimeout=10 #optional
- General__LocalSaveLocation=files #optional
- General__CreateSubDirectories=true #optional
networks:
delugesync0:
driver: bridge
Then run
sudo docker-compose up -d
to get up and running or
sudo docker-compose -f gcr.docker-compose.yml up -d
if you are using the provided compose (remember to change to your variables first)