https://hub.docker.com/r/timdev0/docker-deluge-openvpn
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.
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
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
The documentation for this image is hosted on GitHub pages:
https://ebrianne.github.io/docker-deluge-openvpn/
Access http://HOSTIP:PORT from a browser on the same network. Default password is deluge
.
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 |