45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/ntfy
|
|
tag: v1.24.0@sha256:8b168e08ac3c2dc0d4c81ea6b7b8fa8800d74e398bd84bc45a3a23630f7fcd60
|
|
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 "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 }}"
|