Updated README

This commit is contained in:
Eldwan Brianne
2021-10-05 22:12:30 +02:00
parent 3a04130588
commit d27041f642
2 changed files with 4 additions and 10 deletions

View File

@@ -15,8 +15,8 @@ It bundles configuration files for many popular VPN providers to make the setup
``` ```
$ docker run --cap-add=NET_ADMIN -d \ $ docker run --cap-add=NET_ADMIN -d \
--sysctl=net.ipv6.conf.all.disable_ipv6=0 \ --sysctl=net.ipv6.conf.all.disable_ipv6=1 \
-v /your/storage/path/to/downloads/:/downloads \ -v /your/storage/path/to/downloads/:/download \
-v /your/storage/path/to/config/:/config \ -v /your/storage/path/to/config/:/config \
-e OPENVPN_PROVIDER=PIA \ -e OPENVPN_PROVIDER=PIA \
-e OPENVPN_CONFIG=France \ -e OPENVPN_CONFIG=France \
@@ -33,7 +33,7 @@ version: '3.2'
services: services:
deluge-openvpn: deluge-openvpn:
volumes: volumes:
- '/your/storage/path/to/downloads/:/downloads' - '/your/storage/path/to/downloads/:/download'
- '/your/storage/path/to/config/:/config' - '/your/storage/path/to/config/:/config'
environment: environment:
- OPENVPN_PROVIDER=PIA - OPENVPN_PROVIDER=PIA
@@ -44,7 +44,7 @@ services:
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN
sysctls: sysctls:
- net.ipv6.conf.all.disable_ipv6=0 - net.ipv6.conf.all.disable_ipv6=1
ports: ports:
- '8112:8112' - '8112:8112'
image: ebrianne/docker-deluge-openvpn image: ebrianne/docker-deluge-openvpn

View File

@@ -57,12 +57,6 @@ if [[ "${ENABLE_UFW,,}" == "true" ]]; then
sed -i -e s/IPV6=yes/IPV6=no/ /etc/default/ufw sed -i -e s/IPV6=yes/IPV6=no/ /etc/default/ufw
ufw enable ufw enable
DELUGE_LISTEN_PORT="${DELUGE_LISTEN_PORT_LOW}:${DELUGE_LISTEN_PORT_HIGH}"
ufwAllowPort DELUGE_LISTEN_PORT tcp
DELUGE_OUTGOING_PORT="${DELUGE_OUTGOING_PORT_LOW}:${DELUGE_OUTGOING_PORT_HIGH}"
ufwAllowPort DELUGE_OUTGOING_PORT tcp
if [[ "${UFW_ALLOW_GW_NET,,}" == "true" ]]; then if [[ "${UFW_ALLOW_GW_NET,,}" == "true" ]]; then
ufwAllowPortLong DELUGE_WEB_PORT GW_CIDR ufwAllowPortLong DELUGE_WEB_PORT GW_CIDR
ufwAllowPortLong DELUGE_DEAMON_PORT GW_CIDR ufwAllowPortLong DELUGE_DEAMON_PORT GW_CIDR