vpn
This commit is contained in:
@@ -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=<your key>
|
||||
# - WIREGUARD_ADDRESSES=<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
|
||||
|
||||
Reference in New Issue
Block a user