From de5a3240c4b0d30780644b81a305c7f4ff2ad2be Mon Sep 17 00:00:00 2001 From: rens Date: Thu, 6 Nov 2025 14:27:08 +0100 Subject: [PATCH] vpn --- README.md | 0 arr-stack/docker-compose.yaml | 37 +++++++++++++++++++++++++++++------ 2 files changed, 31 insertions(+), 6 deletions(-) mode change 100644 => 100755 README.md diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/arr-stack/docker-compose.yaml b/arr-stack/docker-compose.yaml index eb82c1d..fb53df7 100755 --- a/arr-stack/docker-compose.yaml +++ b/arr-stack/docker-compose.yaml @@ -1,6 +1,32 @@ --- name: arr-stack services: +# optional VPN container +# uncomment to use also uncomment related lines in qbittorrent service +# and remove the networks section from qbittorrent (keep network_mode) +# vpn: +# image: qmcgaw/gluetun:latest +# container_name: vpn +# cap_add: +# - NET_ADMIN +# devices: +# - /dev/net/tun:/dev/net/tun +# environment: +# - VPN_SERVICE_PROVIDER=surfshark +# - VPN_TYPE=wireguard # or openvpn +# - WIREGUARD_PRIVATE_KEY= +# - WIREGUARD_ADDRESSES= +# - SERVER_COUNTRIES=Netherlands +# volumes: +# - /path/to/gluetun/config:/gluetun +# ports: +# - "8080:8080" # qBittorrent Web UI +# - "6881:6881" # torrent TCP +# - "6881:6881/udp" # torrent UDP +# restart: unless-stopped +# networks: +# static-network: +# ipv4_address: 172.20.0.2 qbittorrent: image: lscr.io/linuxserver/qbittorrent:latest container_name: qbittorrent @@ -12,15 +38,14 @@ services: - TORRENTING_PORT=6881 volumes: - /path/to/qbittorrent/appdata:/config - - /mnt/nas/downloads:/downloads #optional - ports: - - 8080:8080 - - 6881:6881 - - 6881:6881/udp - restart: unless-stopped + - /mnt/nas/downloads:/downloads networks: static-network: ipv4_address: 172.20.0.2 +# network_mode: "service:vpn" +# depends_on: +# - vpn + restart: unless-stopped nzbget: image: lscr.io/linuxserver/nzbget:latest container_name: nzbget