37 lines
948 B
YAML
37 lines
948 B
YAML
services:
|
|
qbittorrentvpn:
|
|
image: dyonr/qbittorrentvpn
|
|
container_name: qbittorrentvpn
|
|
privileged: true
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /arr/qbittorrent/config:/config
|
|
- /data:/data
|
|
- /arr/qbittorrent/ssl:/ssl
|
|
environment:
|
|
- VPN_ENABLED=yes
|
|
- VPN_TYPE=openvpn
|
|
- VPN_USERNAME=<redacted>
|
|
- VPN_PASSWORD=<redacted>
|
|
- LAN_NETWORK=10.0.0.0/8,192.168.0.0/16,172.16.0.0/12
|
|
- NAME_SERVERS=8.8.8.8,8.8.4.4
|
|
- DEBUG=true
|
|
- PUID=0
|
|
- GUID=0
|
|
# - ENABLE_SSL=TRUE
|
|
ports:
|
|
- "8080:8080"
|
|
- "8999:8999"
|
|
- "8999:8999/udp"
|
|
|
|
nginx:
|
|
image: nginx:alpine
|
|
container_name: qbittorrent-nginx
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- qbittorrentvpn
|
|
ports:
|
|
- "8443:443" # External HTTPS port
|
|
volumes:
|
|
- /arr/qbittorrent/ssl:/etc/nginx/ssl:ro
|
|
- /arr/qbittorrent/nginx.conf:/etc/nginx/conf.d/default.conf:ro |