DockerPrograms/qBittorrent/docker-compose.yml

35 lines
804 B
YAML
Raw Normal View History

2023-12-22 19:51:58 +00:00
---
version: '3'
services:
2024-01-02 01:04:32 +00:00
qbittorrent:
2023-12-22 19:51:58 +00:00
image: qbittorrentofficial/qbittorrent-nox:latest
container_name: qbittorrent-nox
2024-01-02 01:04:32 +00:00
restart: unless-stopped
2023-12-22 19:51:58 +00:00
environment:
- QBT_WEBUI_PORT=6882
2024-01-02 01:04:32 +00:00
- QBT_VERSION=latest
- QBT_EULA=true
2023-12-22 19:51:58 +00:00
volumes:
2024-01-02 01:04:32 +00:00
- ./qbit-config:/config
- ../../documents/downloads:/downloads
network_mode: host
depends_on:
- vpn
vpn:
image: lscr.io/linuxserver/wireguard:latest
container_name: wireguard
2023-12-22 19:51:58 +00:00
restart: unless-stopped
2024-01-02 01:04:32 +00:00
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
- TZ=America/Denver
- SERVERPORT=51820 #optional
- LOG_CONFS=true #optional
volumes:
- ./config:/config
2023-12-22 19:51:58 +00:00
network_mode: host
2024-01-02 01:04:32 +00:00
# sysctls:
# - net.ipv4.conf.all.src_valid_mark=1