diff --git a/qbit-vpn/docker-compose.yaml b/qbit-vpn/docker-compose.yaml new file mode 100644 index 0000000..d0adf73 --- /dev/null +++ b/qbit-vpn/docker-compose.yaml @@ -0,0 +1,37 @@ +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= + - VPN_PASSWORD= + - 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 \ No newline at end of file