37 lines
1.3 KiB
YAML
37 lines
1.3 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/plex
|
|
pullPolicy: IfNotPresent
|
|
tag: 1.28.2.6151@sha256:051f78cad0ffe6958c53c8542ecf7a7b44848a4da3ced44e82489e01a2b0de80
|
|
|
|
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
|