Files
fileserver/docker/individual-docker-compose-files/qbittorrentvpn-docker-compose.yml
2023-12-18 20:09:03 -06:00

32 lines
832 B
YAML
Executable File

version: '3'
services:
qbittorrentvpn:
container_name: qbittorrentvpn
hostname: qbittorrentvpn
image: binhex/arch-qbittorrentvpn:latest
environment:
- ENABLE_PRIVOXY=no
- LAN_NETWORK=192.168.1.0/24
- NAME_SERVERS=.1.1.1,8.8.8.8,1.0.0.1,8.8.4.4,9.9.9.9
- PGID=0
- PUID=0
- TZ=$TZ
- VPN_ENABLED=yes
- VPN_PROV=custom
- VPN_CLIENT=wireguard
- WEBUI_PORT=8282
- UMASK=$UMASK
privileged: true
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
ports:
- 58483:58483/tcp
- 8282:8282/tcp
restart: always
volumes:
- ./appdata/qbittorrentvpn:/config
- ./appdata/qbittorrentvpn/openvpn:/config/openvpn
- /mnt/data:/data
- /mnt/data/downloads/torrents:/torrents
- /etc/localtime:/etc/localtime:ro