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
|
||||
devices:
|
||||
- /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:
|
||||
servarrnetwork:
|
||||
ipv4_address: 172.39.0.2
|
||||
@@ -57,11 +59,13 @@ services:
|
||||
# - .env
|
||||
environment:
|
||||
- VPN_SERVICE_PROVIDER=protonvpn
|
||||
- VPN_TYPE=openvpn
|
||||
- OPENVPN_USER=${OPENVPN_USER}
|
||||
- OPENVPN_PASSWORD=${OPENVPN_PASSWORD}
|
||||
- VPN_TYPE=wireguard
|
||||
- WIREGUARD_PRIVATE_KEY=${WIREGUARD_PRIVATE_KEY}
|
||||
# - OPENVPN_USER=${OPENVPN_USER}
|
||||
# - OPENVPN_PASSWORD=${OPENVPN_PASSWORD}
|
||||
- VPN_PORT_FORWARDING=on
|
||||
- SERVER_COUNTRIES=${SERVER_COUNTRIES}
|
||||
- SERVER_CITIES=${SERVER_CITIES}
|
||||
|
||||
healthcheck:
|
||||
test: ping -c 1 www.google.com || exit 1
|
||||
@@ -82,6 +86,11 @@ services:
|
||||
- TZ=${TZ}
|
||||
- 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
|
||||
# 🔄 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:
|
||||
- ./qbittorrent:/config
|
||||
- ${DATA_MOUNT}:/data
|
||||
@@ -96,6 +105,12 @@ services:
|
||||
retries: 3
|
||||
start_period: 20s
|
||||
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.
|
||||
deunhealth:
|
||||
|
||||
Reference in New Issue
Block a user