103 lines
3.6 KiB
YAML
Executable file
103 lines
3.6 KiB
YAML
Executable file
services:
|
|
gluetun:
|
|
image: qmcgaw/gluetun:latest
|
|
container_name: gluetun
|
|
cap_add:
|
|
- NET_ADMIN
|
|
restart: unless-stopped
|
|
cpus: 1.0
|
|
mem_limit: "1024m"
|
|
mem_reservation: "128m"
|
|
environment:
|
|
# Core VPN config
|
|
- VPN_SERVICE_PROVIDER=airvpn
|
|
- VPN_TYPE=wireguard
|
|
|
|
# From your WireGuard config:
|
|
- WIREGUARD_PRIVATE_KEY=ECCy5yvuw44r9gwVBV0dm6lkwYgj9TooW1FEj4LK8X4=
|
|
- WIREGUARD_PRESHARED_KEY=3eL2dzBilN+dmKGGXwOzUwGKpBJkKZELos/6GurIb/8= # if present in config
|
|
- WIREGUARD_ADDRESSES=10.186.81.191/32 # from your [Interface] Address
|
|
# Endpoint — use resolved IP instead of domain:
|
|
- SERVER_COUNTRIES=Canada
|
|
#- WIREGUARD_ENDPOINT_IP=184.75.223.197
|
|
#- WIREGUARD_ENDPOINT_PORT=1637 # matches AirVPN WG port
|
|
|
|
# Port forwarding for torrenting
|
|
- FIREWALL_VPN_INPUT_PORTS=30754
|
|
|
|
ports:
|
|
- 8080:8080 # qBittorrent Web UI
|
|
- 30754:30754 # torrent port TCP
|
|
- 30754:30754/udp # torrent port UDP
|
|
|
|
qbittorrent:
|
|
image: lscr.io/linuxserver/qbittorrent:latest
|
|
container_name: qbittorrent
|
|
network_mode: "service:gluetun"
|
|
cpus: 4.0
|
|
mem_limit: "8192m" # 8 GB
|
|
mem_reservation: "2048m" # 2 GB
|
|
ulimits:
|
|
nproc: 65535
|
|
nofile:
|
|
soft: 65535
|
|
hard: 65535
|
|
depends_on:
|
|
- gluetun
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=Etc/UTC
|
|
- WEBUI_PORT=8080
|
|
- TORRENTING_PORT=30754
|
|
volumes:
|
|
- ./data:/config
|
|
- /pool/torrenting:/downloads
|
|
- /pool/music:/mnt/music
|
|
- /pool/tv:/mnt/tv
|
|
- /pool/movies:/mnt/movies
|
|
- /pool/other:/mnt/other
|
|
- /mnt/SATA-22TB-host15/qbittorrent/downloads:/q-downloads
|
|
- /mnt/SATA-22TB-host15/qbittorrent/completed:/q-completed
|
|
- /mnt/SATA-22TB-host15/qbittorrent/seeding:/q-seeding
|
|
restart: unless-stopped
|
|
|
|
unpackerr:
|
|
image: golift/unpackerr
|
|
container_name: unpackerr
|
|
restart: unless-stopped
|
|
network_mode: "host"
|
|
mem_limit: "4096m"
|
|
mem_reservation: "1024m"
|
|
environment:
|
|
- UN_DEBUG=false
|
|
- ./unpackerr/config:/config
|
|
# --- qBittorrent Configuration ---
|
|
- UN_QBITTORRENT_URL=http://172.16.201.21:8080
|
|
- UN_QBITTORRENT_USERNAME=jkilloran
|
|
- UN_QBITTORRENT_PASSWORD=Pizzajam11
|
|
- UN_QBITTORRENT_CATEGORIES=tv,movies,music,other
|
|
# --- Whisparr Configuration ---
|
|
- UN_WHISPARR_0_URL=http://172.16.201.21:6969
|
|
- UN_WHISPARR_0_API_KEY=a9e10d0693ee46e8b8bc5513597d0540
|
|
- UN_WHISPARR_0_PATHS=/downloads
|
|
# --- Sonarr Configuration ---
|
|
- UN_SONARR_0_URL=http://172.16.201.21:8989
|
|
- UN_SONARR_0_API_KEY=d8f3afa9b5c143b6b778253f5b913e92
|
|
- UN_SONARR_0_PATHS=/downloads
|
|
# --- Radarr Configuration ---
|
|
- UN_RADARR_0_URL=http://172.16.201.21:7878
|
|
- UN_RADARR_0_API_KEY=b198a04d7d354f46a7425097b601a90a
|
|
- UN_RADARR_0_PATHS=/downloads
|
|
# --- Lidarr Configuration ---
|
|
- UN_LIDARR_0_URL=http://172.16.201.21:8686
|
|
- UN_LIDARR_0_API_KEY=9cb1961cba9a496d9d174397b2ead3cb
|
|
- UN_LIDARR_0_PATHS=/downloads
|
|
- UN_DELETE_ORIGINALS=false
|
|
- UN_DELETE_AFTER=0
|
|
- UN_MOVE_BACK=false
|
|
volumes:
|
|
# Match qBittorrent's completed/incomplete folders
|
|
- /mnt/SATA-22TB-host15/qbittorrent/downloads:/q-downloads
|
|
- /mnt/SATA-22TB-host15/qbittorrent/completed:/q-completed
|
|
# Optionally, if media folders are also here, map them too
|