TrueChartsClone/charts/stable/ntfy/values.yaml

45 lines
1.3 KiB
YAML

image:
repository: tccr.io/truecharts/ntfy
tag: v1.25.2@sha256:108da530aa04d2d10b2c06f61077982605a62004bc91fabe061a844edb03aa63
pullPolicy: IfNotPresent
extraArgs: ["serve"]
env:
NTFY_LISTEN_HTTP: ":{{ .Values.service.main.ports.main.port }}"
# User Defined
NTFY_BASE_URL: "http://localhost:10222"
NTFY_BEHIND_PROXY: false
ENABLE_FIREBASE_FILE: false
ENABLE_CACHE_FILE: false
ENABLE_ATTACHMENT_CACHE_DIR: false
ENABLE_AUTH_FILE: false
envFrom:
- configMapRef:
name: '{{ include "tc.common.names.fullname" . }}-ntfy'
service:
main:
ports:
main:
port: 10222
persistence:
config:
enabled: true
mountPath: "/etc/ntfy"
cache:
enabled: true
mountPath: "/var/cache/ntfy"
configmap:
ntfy:
enabled: true
data:
# If a path is set, it enables this options. To disable set to emtpy path
NTFY_ATTACHMENT_CACHE_DIR: "{{ ternary \"/var/cache/ntfy/attachments\" \"\" .Values.env.ENABLE_ATTACHMENT_CACHE_DIR }}"
NTFY_CACHE_FILE: "{{ ternary \"/var/cache/ntfy/cache.db\" \"\" .Values.env.ENABLE_CACHE_FILE }}"
NTFY_AUTH_FILE: "{{ ternary \"/etc/ntfy/user.db\" \"\" .Values.env.ENABLE_AUTH_FILE }}"
NTFY_FIREBASE_KEY_FILE: "{{ ternary \"/etc/ntfy/firebase-key.json\" \"\" .Values.env.ENABLE_FIREBASE_FILE }}"