feat: Try wireguard to see if it's faster.
This commit is contained in:
21
compose.yaml
21
compose.yaml
@@ -41,6 +41,8 @@ services:
|
|||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
devices:
|
devices:
|
||||||
- /dev/net/tun:/dev/net/tun # If running on an LXC see readme for more info.
|
- /dev/net/tun:/dev/net/tun # If running on an LXC see readme for more info.
|
||||||
|
sysctls:
|
||||||
|
- net.ipv6.conf.all.disable_ipv6=1
|
||||||
networks:
|
networks:
|
||||||
servarrnetwork:
|
servarrnetwork:
|
||||||
ipv4_address: 172.39.0.2
|
ipv4_address: 172.39.0.2
|
||||||
@@ -57,11 +59,13 @@ services:
|
|||||||
# - .env
|
# - .env
|
||||||
environment:
|
environment:
|
||||||
- VPN_SERVICE_PROVIDER=protonvpn
|
- VPN_SERVICE_PROVIDER=protonvpn
|
||||||
- VPN_TYPE=openvpn
|
- VPN_TYPE=wireguard
|
||||||
- OPENVPN_USER=${OPENVPN_USER}
|
- WIREGUARD_PRIVATE_KEY=${WIREGUARD_PRIVATE_KEY}
|
||||||
- OPENVPN_PASSWORD=${OPENVPN_PASSWORD}
|
# - OPENVPN_USER=${OPENVPN_USER}
|
||||||
|
# - OPENVPN_PASSWORD=${OPENVPN_PASSWORD}
|
||||||
- VPN_PORT_FORWARDING=on
|
- VPN_PORT_FORWARDING=on
|
||||||
- SERVER_COUNTRIES=${SERVER_COUNTRIES}
|
- SERVER_COUNTRIES=${SERVER_COUNTRIES}
|
||||||
|
- SERVER_CITIES=${SERVER_CITIES}
|
||||||
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ping -c 1 www.google.com || exit 1
|
test: ping -c 1 www.google.com || exit 1
|
||||||
@@ -82,6 +86,11 @@ services:
|
|||||||
- TZ=${TZ}
|
- TZ=${TZ}
|
||||||
- WEBUI_PORT=8701 # must match "qbittorrent web interface" port number in gluetun's service above
|
- WEBUI_PORT=8701 # must match "qbittorrent web interface" port number in gluetun's service above
|
||||||
# - TORRENTING_PORT=${FIREWALL_VPN_INPUT_PORTS} # airvpn forwarded port, pulled from .env
|
# - TORRENTING_PORT=${FIREWALL_VPN_INPUT_PORTS} # airvpn forwarded port, pulled from .env
|
||||||
|
# 🔄 Port Forwarding Mod (Syncs qBittorrent with Gluetun)
|
||||||
|
- DOCKER_MODS=ghcr.io/t-anc/gsp-qbittorent-gluetun-sync-port-mod:main
|
||||||
|
- GSP_GTN_API_KEY=${GSP_GTN_API_KEY:-randomapikey} # API key for port forwarding updates
|
||||||
|
- GSP_QBITTORRENT_PORT=${GSP_QBITTORRENT_PORT:-53764} # Torrenting port (auto-updated by Gluetun)
|
||||||
|
- GSP_MINIMAL_LOGS=false # Enables full logs for debugging purposes
|
||||||
volumes:
|
volumes:
|
||||||
- ./qbittorrent:/config
|
- ./qbittorrent:/config
|
||||||
- ${DATA_MOUNT}:/data
|
- ${DATA_MOUNT}:/data
|
||||||
@@ -96,6 +105,12 @@ services:
|
|||||||
retries: 3
|
retries: 3
|
||||||
start_period: 20s
|
start_period: 20s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
|
# ─── Performance Optimization ──────────────────────────────────────
|
||||||
|
ulimits:
|
||||||
|
nofile:
|
||||||
|
soft: 32768
|
||||||
|
hard: 65536 # Increases allowed open files (important for high-speed torrenting)
|
||||||
|
|
||||||
|
|
||||||
# See the 'qBittorrent Stalls with VPN Timeout' section for more information.
|
# See the 'qBittorrent Stalls with VPN Timeout' section for more information.
|
||||||
deunhealth:
|
deunhealth:
|
||||||
|
|||||||
Reference in New Issue
Block a user