image:
  repository: tccr.io/truecharts/logitechmediaserver
  pullPolicy: IfNotPresent
  tag: v8.3.0@sha256:ae420df1ec51d1cf115b414e9f748d10a65368fe3ebe8197fe7884df46edc462
env:
  # Permissions Settings
  HTTP_PORT: "{{ .Values.service.main.ports.main.port }}"
  # Port to host the web service on. This will be the internal container port exposed and needs to be the same as the public service port.
  # The main http port always has to be a 1:1 mapping between external and internal port.
  # You can't just map it like -p 9002:9000, as Logitech Media Server is telling players on which port to connect.
  # Therefore if you have to use a different http port for LMS (other than 9000) you'll have to set the HTTP_PORT environment variable

securityContext:
  readOnlyRootFilesystem: false
  runAsNonRoot: false

podSecurityContext:
  runAsUser: 0
  runAsGroup: 0

service:
  main:
    ports:
      main:
        # Please note that the main http port always has to be a 1:1 mapping between external and internal port.
        # You can't just map it like -p 7000:9000, as Logitech Media Server is telling players on which port to connect.
        # Therefore if you have to use a different http port for LMS (other than 9000) you'll have to set the HTTP_PORT environment variable
        targetPort: 7000
        port: 7000
  cli:
    enabled: true
    ports:
      cli:
        enabled: true
        targetPort: 9090
        port: 10059
  playertcp:
    enabled: true
    ports:
      slimprototcp:
        enabled: true
        targetPort: 3483
        port: 3483
  playerudp:
    enabled: true
    ports:
      slimprotoudp:
        enabled: true
        targetPort: 3483
        port: 3483
        protocol: UDP

persistence:
  config:
    enabled: true
    mountPath: "/config"
