35 lines
804 B
YAML
35 lines
804 B
YAML
---
|
|
version: '3'
|
|
services:
|
|
qbittorrent:
|
|
image: qbittorrentofficial/qbittorrent-nox:latest
|
|
container_name: qbittorrent-nox
|
|
restart: unless-stopped
|
|
environment:
|
|
- QBT_WEBUI_PORT=6882
|
|
- QBT_VERSION=latest
|
|
- QBT_EULA=true
|
|
volumes:
|
|
- ./qbit-config:/config
|
|
- ../../documents/downloads:/downloads
|
|
network_mode: host
|
|
depends_on:
|
|
- vpn
|
|
vpn:
|
|
image: lscr.io/linuxserver/wireguard:latest
|
|
container_name: wireguard
|
|
restart: unless-stopped
|
|
cap_add:
|
|
- NET_ADMIN
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=America/Denver
|
|
- SERVERPORT=51820 #optional
|
|
- LOG_CONFS=true #optional
|
|
volumes:
|
|
- ./config:/config
|
|
network_mode: host
|
|
# sysctls:
|
|
# - net.ipv4.conf.all.src_valid_mark=1
|