39 lines
1.0 KiB
YAML
39 lines
1.0 KiB
YAML
---
|
|
version: '3.3'
|
|
|
|
networks:
|
|
web:
|
|
external: true
|
|
internal:
|
|
external: false
|
|
|
|
services:
|
|
alpine-qbittorrent-openvpn:
|
|
restart: always
|
|
networks:
|
|
- internal
|
|
- web
|
|
labels:
|
|
- traefik.http.routers.transmission.rule=Host(`downloads.dws.rip`)
|
|
- traefik.http.routers.transmission.tls=true
|
|
- traefik.http.routers.transmission.tls.certresolver=lets-encrypt
|
|
- traefik.port=8080
|
|
volumes:
|
|
- '/dws/otherdata:/data'
|
|
- "/dws/config/torrent:/config"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- LAN=192.168.0.0/16
|
|
- OPENVPN_PROVIDER=NORDVPN
|
|
- NORDVPN_CATEGORY=legacy_p2p
|
|
- NORDVPN_COUNTRY=US
|
|
- NORDVPN_PROTOCOL=tcp
|
|
- OPENVPN_USERNAME=tanishq.dubey@gmail.com
|
|
- OPENVPN_PASSWORD=${OPENVPNPASS}
|
|
- OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60 --dhcp-option DNS 8.8.8.8
|
|
cap_add:
|
|
- NET_ADMIN
|
|
image: guillaumedsde/alpine-qbittorrent-openvpn:latest
|