feat: enable ntfy with postgres
This commit is contained in:
@@ -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
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user