2022-04-17 07:17:33 -04:00
|
|
|
image:
|
2022-04-18 15:57:07 -04:00
|
|
|
repository: tccr.io/truecharts/ntfy
|
2022-12-23 13:17:39 -05:00
|
|
|
tag: 1.30.1@sha256:747d446e938199e787b0f0ee251598b90551601b92a844c29dc6024d3a6a61f8
|
2022-04-17 07:17:33 -04:00
|
|
|
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
|
2022-06-17 04:24:54 -04:00
|
|
|
# NTFY_CACHE_DURATION: "12h"
|
|
|
|
# NTFY_KEEPALIVE_INTERVAL: "45s"
|
|
|
|
# NTFY_MANAGER_INTERVAL: "1m"
|
|
|
|
# NTFY_GLOBAL_TOPIC_LIMIT: 15000
|
|
|
|
# NTFY_VISITOR_SUBSCRIPTION_LIMIT: 30
|
|
|
|
# NTFY_VISITOR_ATTACHMENT_TOTAL_SIZE_LIMIT: "100M"
|
|
|
|
# NTFY_VISITOR_ATTACHMENT_DAILY_BANDWIDTH_LIMIT: "500M"
|
|
|
|
# NTFY_VISITOR_REQUEST_LIMIT_BURST: 60
|
|
|
|
# NTFY_VISITOR_REQUEST_LIMIT_REPLENISH: "5s"
|
|
|
|
# NTFY_VISITOR_REQUEST_LIMIT_EXEMPT_HOSTS: ""
|
|
|
|
# NTFY_VISITOR_EMAIL_LIMIT_BURST: 16
|
|
|
|
# NTFY_VISITOR_EMAIL_LIMIT_REPLENISH: "1h"
|
|
|
|
# NTFY_ATTACHMENT_TOTAL_SIZE_LIMIT: "5G"
|
|
|
|
# NTFY_ATTACHMENT_FILE_SIZE_LIMIT: "15M"
|
|
|
|
# NTFY_ATTACHMENT_EXPIRY_DURATION: "3h"
|
|
|
|
# NTFY_AUTH_DEFAULT_ACCESS: "read-write"
|
|
|
|
# NTFY_SMTP_SENDER_ADDR: ""
|
|
|
|
# NTFY_SMTP_SENDER_USER: ""
|
|
|
|
# NTFY_SMTP_SENDER_PASS: ""
|
|
|
|
# NTFY_SMTP_SENDER_FROM: ""
|
|
|
|
# NTFY_SMTP_SERVER_LISTEN: ""
|
|
|
|
# NTFY_SMTP_SERVER_DOMAIN: ""
|
|
|
|
# NTFY_SMTP_SERVER_ADDR_PREFIX: ""
|
2022-04-17 07:17:33 -04:00
|
|
|
|
|
|
|
envFrom:
|
|
|
|
- configMapRef:
|
2022-06-07 13:41:19 -04:00
|
|
|
name: '{{ include "tc.common.names.fullname" . }}-ntfy'
|
2022-04-17 07:17:33 -04:00
|
|
|
|
|
|
|
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
|
2022-07-22 14:23:01 -04:00
|
|
|
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 }}'
|
2022-08-08 17:25:02 -04:00
|
|
|
|
|
|
|
portal:
|
|
|
|
enabled: true
|