# IMPORTANT NOTE
#
# This chart inherits from our common library chart. You can check the default values/options here:
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
#

image:
  # -- image repository
  repository: bastilimbach/docker-magicmirror
  # -- image tag
  tag: v2.15.0
  # -- image pull policy
  pullPolicy: IfNotPresent

# -- environment variables. See [image docs](https://github.com/bastilimbach/docker-MagicMirror) for more details.
# @default -- See below
env:
  # -- Set the container timezone
  TZ: UTC

# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
  main:
    ports:
      http:
        port: 8080

ingress:
  # -- Enable and configure ingress settings for the chart under this key.
  # @default -- See values.yaml
  main:
    enabled: false

# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
  data:
    enabled: false
    mountPath: "/opt/magic_mirror/modules/custom"

# -- Contents of your config.js, supports Helm templates.
# See [application docs](https://docs.magicmirror.builders/getting-started/configuration.html) for more details.
# @default -- See values.yaml
config: |
  var config = {
    address: "0.0.0.0",
    port: {{ .Values.service.main.ports.http.port }},
    ipWhitelist: [],
    language: "en",
    timeFormat: 24,
    units: "metric",
    modules: [],
  };

  /*************** DO NOT EDIT THE LINE BELOW ***************/
  if (typeof module !== "undefined") {module.exports = config;}

# -- Contents of your custom.css
custom_css: ""
