From d681cdf7ecba1bb6cd6781212e50a956787e3c2b Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Sat, 29 Nov 2025 14:50:01 -0500 Subject: [PATCH] feat: Test qbittorrent wit vpn. --- compose.yaml | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/compose.yaml b/compose.yaml index afb938d..7ac8d51 100644 --- a/compose.yaml +++ b/compose.yaml @@ -47,26 +47,26 @@ services: servarrnetwork: ipv4_address: 172.39.0.2 ports: - # - 8701:8701 # qbittorrent web interface - # - 6881:6881 # qbittorrent torrent port + - 8701:8701 # qbittorrent web interface + - 6881:6881 # qbittorrent torrent port - 6789:6789 # nzbget - 9696:9696 # prowlarr - 8191:8191 # flaresolver volumes: - ./gluetun:/gluetun # Make a '.env' file in the same directory. - # env_file: - # - .env + env_file: + - .env environment: - VPN_SERVICE_PROVIDER=protonvpn - - VPN_TYPE=wireguard - - WIREGUARD_PRIVATE_KEY=${WIREGUARD_PRIVATE_KEY} - # - OPENVPN_USER=${OPENVPN_USER} - # - OPENVPN_PASSWORD=${OPENVPN_PASSWORD} + - VPN_TYPE=openvpn + # - WIREGUARD_PRIVATE_KEY=${WIREGUARD_PRIVATE_KEY} + - OPENVPN_USER=${OPENVPN_USER} + - OPENVPN_PASSWORD=${OPENVPN_PASSWORD} - VPN_PORT_FORWARDING=on + - PORT_FORWARD_ONLY=on - SERVER_COUNTRIES=${SERVER_COUNTRIES} - SERVER_CITIES=${SERVER_CITIES} - healthcheck: test: ping -c 1 www.google.com || exit 1 interval: 20s @@ -87,25 +87,25 @@ services: - 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) + - 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 - # depends_on: - # gluetun: - # condition: service_healthy - # restart: true - # network_mode: service:gluetun - ports: - - 6881:6881/tcp # qbittorrent torrent port - - 6881:6881/udp # qbittorrent torrent port - - 8701:8701 - dns: - - 1.1.1.1 - - 8.8.8.8 + depends_on: + gluetun: + condition: service_healthy + restart: true + network_mode: service:gluetun + # ports: + # - 6881:6881/tcp # qbittorrent torrent port + # - 6881:6881/udp # qbittorrent torrent port + # - 8701:8701 + # dns: + # - 1.1.1.1 + # - 8.8.8.8 healthcheck: test: ping -c 1 www.google.com || exit 1 interval: 60s