-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathvpn-deluge.yml
49 lines (48 loc) · 1.91 KB
/
vpn-deluge.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# https://github.com/binhex/arch-delugevpn
# Default password for the webui is "deluge"
# http://<host ip>:8112
# Access Privoxy
# http://<host ip>:8118
# Please note this Docker image does not include the required OpenVPN configuration file and certificates. These will typically be downloaded from your VPN providers website (look for OpenVPN configuration files), and generally are zipped.
# PIA users - The URL to download the OpenVPN configuration files and certs is:-
# https://www.privateinternetaccess.com/openvpn/openvpn.zip
# Due to Google and OpenDNS supporting EDNS Client Subnet it is recommended NOT to use either of these NS providers. The list of default NS providers in the example is as follows:-
# 209.222.x.x = PIA 84.200.x.x = DNS Watch 37.235.x.x = FreeDNS 1.x.x.x = Cloudflare
---
version: "3.7"
services:
vpn-deluge:
image: binhex/arch-delugevpn
container_name: vpn-deluge
cap_add:
- NET_ADMIN
ports:
- 8112:8112
- 8118:8118
- 58846:58846
- 58946:58946
volumes:
- ${USERDIR}/deluge/data:/data
- ${USERDIR}/deluge/config:/config
- /etc/localtime:/etc/localtime:ro
environment:
- PUID=1000 #Might need to be 0, run id inside container
- PGID=1000 #Might need to be 0
- VPN_ENABLED=yes
- VPN_USER=username
- VPN_PASS=password
- VPN_PROV=pia #airvpn,custom
# - VPN_OPTIONS=#additional openvpn cli options
- LAN_NETWORK=192.168.1.0/24
- STRICT_PORT_FORWARD=yes
- ENABLE_PRIVOXY=yes
#Use specific NS for each VPN service to prevent DNS leakage
- NAME_SERVERS=209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1
- DELUGE_DAEMON_LOG_LEVEL=info #critical|error|warning|info|debug
- DELUGE_WEB_LOG_LEVEL=info #critical|error|warning|info|debug
- DEBUG=false
- UMASK=000
networks:
vpn-deluge
external:
name: vpn-deluge