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 - ${ZFS_POOL}/downloads:/downloads depends_on: - vpn ports: - 6882:6882 vpn: image: lscr.io/linuxserver/wireguard:latest container_name: wireguard restart: unless-stopped cap_add: - NET_ADMIN environment: - PUID=${UID} - PGID=${GID} - TZ=America/Denver - SERVERPORT=51820 #optional - LOG_CONFS=true #optional volumes: - ./config:/config sysctls: - net.ipv4.conf.all.src_valid_mark=1