2021-05-15 12:40:49 +00:00
|
|
|
version: '3.4'
|
|
|
|
|
|
|
|
services:
|
|
|
|
dockerqbittorrentvpn:
|
|
|
|
image: dockerqbittorrentvpn
|
|
|
|
environment:
|
|
|
|
- VPN_ENABLED=yes
|
|
|
|
- PIA_PORT_FORWARD=yes
|
|
|
|
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
|
|
- NAME_SERVERS=8.8.8.8,8.8.4.4
|
|
|
|
- LAN_NETWORK=192.168.12.0/24
|
2021-05-16 00:38:24 +00:00
|
|
|
- TZ=Canada/Mountain
|
2021-05-15 12:40:49 +00:00
|
|
|
- DEBIAN_FRONTEND=noninteractive
|
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
|
|
|
privileged: true
|
2021-05-19 14:13:12 +00:00
|
|
|
restart: always
|
2021-05-15 12:40:49 +00:00
|
|
|
cap_add:
|
|
|
|
- NET_ADMIN
|
|
|
|
volumes:
|
|
|
|
- ~/vpncreds:/config
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: ./Dockerfile
|