# -- Default values for homarr
# -- Declare variables to be passed into your templates.

# -- Number of replicas
replicaCount: 1
env:
  # -- Your local time zone
  TZ: "Europe/Berlin"
  # -- Colors and preferences, possible values dark / light
  DEFAULT_COLOR_SCHEME: "dark"

# -- Service configuration
service:
  # -- Service type
  type: ClusterIP
  # -- Service port
  port: 7575
  # -- Service target port
  targetPort: 7575

# -- Ingress configuration
ingress:
  enabled: false

persistence:
  - name: homarr-config
    # -- Enable homarr-config persistent storage
    enabled: true
    # -- homarr-config storage class name
    storageClassName: "nfs-client"
    # -- homarr-config access mode
    accessMode: "ReadWriteOnce"
    persistentVolumeReclaimPolicy: Retain

    # -- homarr-config storage size
    size: "50Mi"
    # -- homarr-config mount path inside the pod
    mountPath: "/app/data/configs"
  - name: homarr-database
    # -- Enable homarr-database persistent storage
    enabled: true
    # -- homarr-database storage class name
    storageClassName: "nfs-client"
    # -- homarr-database access mode
    accessMode: "ReadWriteOnce"
    # -- homarr-database storage size
    size: "50Mi"
    # -- homarr-database mount path inside the pod
    mountPath: "/app/database"
  - name: homarr-icons
    # -- Enable homarr-icons persistent storage
    enabled: true
    # -- homarr-icons storage class name
    storageClassName: "nfs-client"
    # -- homarr-icons access mode
    accessMode: "ReadWriteOnce"
    # -- homarr-icons storage size
    size: "50Mi"
    # -- homarr-icons mount path inside the pod
    mountPath: "/app/public/icons"