feat: Add qBittorrent
This commit is contained in:
parent
c5e4a03a08
commit
86d4dc8758
9 changed files with 270 additions and 0 deletions
36
k8s-wheatley/qbittorrent/configmap.yaml
Normal file
36
k8s-wheatley/qbittorrent/configmap.yaml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: gluetun-envs
|
||||
data:
|
||||
TZ: Europe/Amsterdam
|
||||
VPN_SERVICE_PROVIDER: "custom"
|
||||
VPN_TYPE: "wireguard"
|
||||
VPN_PORT_FORWARDING: on
|
||||
VPN_PORT_FORWARDING_PROVIDER: protonvpn
|
||||
VPN_PORT_FORWARDING_UP_COMMAND: |
|
||||
/bin/sh -c '
|
||||
wget -O- --retry-connrefused \
|
||||
--post-data "json={\"listen_port\":{{PORT}},\"current_network_interface\":\"{{VPN_INTERFACE}}\",\"random_port\":false,\"upnp\":false}" \
|
||||
http://127.0.0.1:8112/api/v2/app/setPreferences 2>&1
|
||||
'
|
||||
VPN_PORT_FORWARDING_DOWN_COMMAND: |
|
||||
/bin/sh -c '
|
||||
wget -O- --retry-connrefused \
|
||||
--post-data "json={\"listen_port\":0,\"current_network_interface\":\"lo\"}" \
|
||||
http://127.0.0.1:8112/api/v2/app/setPreferences 2>&1
|
||||
'
|
||||
FIREWALL_OUTBOUND_SUBNETS: 10.244.0.0/16,10.96.0.0/12
|
||||
FIREWALL_INPUT_PORTS: "8112"
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: qbittorrent-envs
|
||||
data:
|
||||
TZ: Europe/Amsterdam
|
||||
PUID: "1000"
|
||||
PGID: "1000"
|
||||
QBT_LEGAL_NOTICE: confirm
|
||||
QBT_WEBUI_PORT: "8112"
|
||||
Loading…
Add table
Add a link
Reference in a new issue