TrueChartsClone/charts/stable/plex/values.yaml

37 lines
1.3 KiB
YAML

image:
repository: tccr.io/truecharts/plex
pullPolicy: IfNotPresent
tag: 1.28.2.6151@sha256:5ef7e1147e99986f4e05c12b6d8801691b7e90968668c0ec582be8bb8c5dfe6d
service:
main:
ports:
main:
protocol: HTTP
port: 32400
targetPort: 32400
persistence:
config:
enabled: true
mountPath: "/config"
plex:
serverURL: "{{ .Values.service.main.ports.main.protocol | lower }}://{{ .Values.plex.serverIP }}:{{ .Values.service.main.ports.main.port }}"
serverIngressURL: "{{ if .Values.ingress.main.enabled }}{{ with (first .Values.ingress.main.hosts) }},https://{{ .host }}{{ end }}{{ end }}"
serverIngressURLPort: "{{ if .Values.ingress.main.enabled }}{{ $port := .Values.service.main.ports.main.port }}{{ with (first .Values.ingress.main.hosts) }},https://{{ .host }}:{{ $port }}{{ end }}{{ end }}"
# User Defined
serverIP: "127.0.0.1"
additionalAdvertiseURL: ""
disableGDM: true
env:
ADVERTISE_IP: "{{ tpl (.Values.plex.serverURL) .}}{{ tpl (.Values.plex.serverIngressURL) . }}{{ tpl (.Values.plex.serverIngressURLPort) . }}{{ with .Values.plex.additionalAdvertiseURL }},{{ . }}{{ end }}"
PLEX_PREFERENCE_GDM: 'GdmEnabled={{ ternary "0" "1" .Values.plex.disableGDM }}'
# User Defined
ALLOWED_NETWORKS: "172.16.0.0/12,10.0.0.0/8,192.168.0.0/16"
PLEX_CLAIM: ""
portal:
enabled: true