Files
truecharts/charts/stable/qbittorrent/values.yaml
T

90 lines
2.9 KiB
YAML

# yaml-language-server: $schema=./values.schema.json
image:
repository: oci.trueforge.org/containerforge/qbittorrent
pullPolicy: IfNotPresent
tag: 5.2.2@sha256:efaf2ecdd5dff435bd895d19c3827cddff4114ff744e6d4f4e14bcf769808134
qbitportforwardImage:
repository: docker.io/mjmeli/qbittorrent-port-forward-gluetun-server
pullPolicy: IfNotPresent
tag: latest@sha256:e6ab8714e8469a9ef4c3224c0a0557f0b31c07e21195b42a01adc3bef43d42b0
securityContext:
container:
readOnlyRootFilesystem: false
qbitportforward:
enabled: false
QBT_USERNAME: "admin"
QBT_PASSWORD: "adminadmin"
service:
main:
ports:
main:
port: 10095
torrent:
enabled: true
ports:
torrent:
enabled: true
port: 6881
protocol: tcp
torrentudp:
enabled: true
port: "{{ .Values.service.torrent.ports.torrent.port }}"
protocol: udp
gluetun:
enabled: true
type: ClusterIP
ports:
gluetun:
enabled: true
port: 8000
targetPort: 8000
protocol: http
workload:
main:
podSpec:
containers:
main:
env:
QBT_WEBUI_PORT: "{{ .Values.service.main.ports.main.port }}"
QBT_TORRENTING_PORT: "{{ .Values.service.torrent.ports.torrent.port }}"
# deprecated https://github.com/onedr0p/containers/pull/1109
# set the default port
# QBITTORRENT__PORT: "{{ .Values.service.main.ports.main.port }}"
# stops users from bricking their chart from setting the ip to a random ip when its a container.
# QBT_Preferences__WebUI__Address: "*"
# set port from gui.
# QBT_BitTorrent__Session__Port: "{{ .Values.service.torrent.ports.torrent.port }}"
# legacy ini key
# key deprecated https://github.com/qbittorrent/qBittorrent/issues/8324
# QBT_Preferences__Connection__PortRangeMin: "{{ .Values.service.torrent.ports.torrent.port }}"
qbitportforward:
enabled: true
type: CronJob
schedule: "*/5 * * * *"
podSpec:
restartPolicy: OnFailure
containers:
qbitportforward:
primary: true
enabled: true
imageSelector: qbitportforwardImage
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
env:
QBT_USERNAME: "{{ .Values.qbitportforward.QBT_USERNAME }}"
QBT_PASSWORD: "{{ .Values.qbitportforward.QBT_PASSWORD }}"
QBT_ADDR: '{{ printf "http://%v:%v" (include "tc.v1.common.lib.chart.names.fullname" $) .Values.service.main.ports.main.port }}'
GTN_ADDR: '{{ printf "http://%v-gluetun:8000" (include "tc.v1.common.lib.chart.names.fullname" $) }}'
command: /usr/src/app/main.sh
persistence:
config:
enabled: true
mountPath: "/config"