image: repository: tccr.io/truecharts/plex pullPolicy: IfNotPresent tag: 1.29.0.6244@sha256:38ab9878776f66aead5c8e8b83e7eb1dbf9d19d747a44dd63ab4f0fadce9342d 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