Skip to content

Docker container running deluge torrent client with WebUI over an OpenVPN tunnel

License

Notifications You must be signed in to change notification settings

pmichael/docker-deluge-openvpn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenVPN and Deluge with WebUI

Docker Hub link

https://hub.docker.com/r/timdev0/docker-deluge-openvpn

Acknowledgments

This is a fork of ebrianne repo I upgraded the ubuntu and deluge used in the dockerfile, prepared deluge to be used with radarr and sonarr and add more customization with env var. This project is based heavily on the fork of docker-transmission-openvpn. All VPN configurations are now moved to a separate repository.

Quick Start

This container contains OpenVPN and Deluge with a configuration where Deluge is running only when OpenVPN has an active tunnel. It bundles configuration files for many popular VPN providers to make the setup easier.

$ docker run --cap-add=NET_ADMIN -d \
             --sysctl=net.ipv6.conf.all.disable_ipv6=1 \
              -v /your/storage/path/to/downloads/:/download \
              -v /your/storage/path/to/config/:/config \
              -e OPENVPN_PROVIDER=PIA \
              -e OPENVPN_CONFIG=France \
              -e OPENVPN_USERNAME=user \
              -e OPENVPN_PASSWORD=pass \
              -e LOCAL_NETWORK=192.168.0.0/16 \
              -e DELUGE_INCOMPLETE_DIR=/download \
              -e DELUGE_MOVE_COMPLETED=false \
              -e DELUGE_COPY_TORRENT=false \
              -e DELUGE_WEB_PORT=8112 \
              -e DELUGE_DEAMON_PORT=58846 \
              -e DELUGE_LABEL_NAME_RADARR=radarr \ 
              -e DELUGE_LABEL_NAME_SONARR=tv-sonarr \
              -p 8112:8112 \
              timdev0/docker-deluge-openvpn:latest

Docker Compose

version: '3.2'
services:
    deluge-openvpn:
        volumes:
            - '/your/storage/path/to/downloads/:/download'
            - '/your/storage/path/to/config/:/config'
        environment:
          OPENVPN_PROVIDER: PIA
          OPENVPN_CONFIG: switzerland
          OPENVPN_USERNAME: user
          OPENVPN_PASSWORD: pass
          LOCAL_NETWORK: 192.168.0.0/16
          DELUGE_INCOMPLETE_DIR: /download # or /dowload/incomplete
          DELUGE_MOVE_COMPLETED: false
          #DELUGE_DOWNLOAD_DIR: /download/completed #optional put DELUGE_MOVE_COMPLETED to true
          DELUGE_COPY_TORRENT: false
          # DELUGE_TORRENT_DIR: /download/torrents #optional put COPY_TORRENT_FILE to true
          # DELUGE_WATCH_DIR: /download/watch #optional
          # DELUGE_WEB_PORT: 8112 #optinal
          # DELUGE_DEAMON_PORT: 58846 #optional
          DELUGE_LABEL_NAME_RADARR: radarr
          DELUGE_LABEL_NAME_SONARR: tv-sonarr
        cap_add:
            - NET_ADMIN
        sysctls:
            - net.ipv6.conf.all.disable_ipv6=1
        ports:
            - '8112:8112'
        image: timdev0/docker-deluge-openvpn:latest

Documentation

The documentation for this image is hosted on GitHub pages:

https://ebrianne.github.io/docker-deluge-openvpn/

Access the WEB UI

Access http://HOSTIP:PORT from a browser on the same network. Default password is deluge.

Local Client Access

If you want to access Deluge from a Local client other than the WEB UI, like Trieme for Android App: Edit the file /your/storage/path/to/config/auth to add a new line username:password:10, save changes and restart container.

Credential Default Value
Host HOST IP
Port 58846
Username username
Password password

About

Docker container running deluge torrent client with WebUI over an OpenVPN tunnel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 93.6%
  • Dockerfile 3.9%
  • Python 2.5%