58 lines
1.7 KiB
YAML
Executable file
58 lines
1.7 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:
|
|
- VPN_SERVICE_PROVIDER=airvpn
|
|
- VPN_TYPE=wireguard
|
|
#- WIREGUARD_PRIVATE_KEY=ECCy5yvuw44r9gwVBV0dm6lkwYgj9TooW1FEj4LK8X4=
|
|
#- WIREGUARD_PRESHARED_KEY=3eL2dzBilN+dmKGGXwOzUwGKpBJkKZELos/6GurIb/8=
|
|
#- WIREGUARD_ADDRESSES=10.186.81.191/32
|
|
#- SERVER_COUNTRIES=Canada
|
|
#- FIREWALL_VPN_INPUT_PORTS=30754
|
|
volumes:
|
|
- /docker/qbittorrent/gluetun/airvpn-ca.conf:/gluetun/wireguard/wg0.conf
|
|
|
|
ports:
|
|
- 8080:8080 # qBittorrent Web UI
|
|
|
|
|
|
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:
|
|
- /docker/qbittorrent/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
|
|
- /mnt/SATA-22TB-host15/temp:/tortemp
|
|
restart: unless-stopped
|
|
|