feat: enable ntfy with postgres #5521

Merged
alexlebens merged 3 commits from tmp/ntfy-4 into main 2026-04-05 01:20:29 +00:00
Showing only changes of commit a1e52095a9 - Show all commits

View File

@@ -2,7 +2,7 @@ ntfy:
controllers:
main:
type: deployment
replicas: 0
replicas: 1
strategy: Recreate
containers:
main:
@@ -21,11 +21,11 @@ ntfy:
value: 36h
- name: NTFY_BEHIND_PROXY
value: true
# - name: NTFY_DATABASE_URL
# valueFrom:
# secretKeyRef:
# name: ntfy-postgresql-18-cluster-app
# key: uri
- name: NTFY_DATABASE_URL
valueFrom:
secretKeyRef:
name: ntfy-postgresql-18-cluster-app
key: uri
- name: NTFY_ATTACHMENT_CACHE_DIR
valueFrom:
secretKeyRef:
@@ -65,22 +65,6 @@ ntfy:
requests:
cpu: 10m
memory: 40Mi
debug:
type: deployment
replicas: 1
strategy: Recreate
containers:
main:
image:
repository: ubuntu
tag: resolute-20260312
command:
- "sleep"
- "infinity"
resources:
requests:
cpu: 10m
memory: 32Mi
service:
main:
controller: main
@@ -131,10 +115,6 @@ ntfy:
main:
- path: /var/cache/ntfy
readOnly: false
debug:
main:
- path: /var/cache/ntfy
readOnly: true
postgres-18-cluster:
mode: recovery
recovery: