Add upstream relay config to ntfy for instant iOS push notifications
Configures ntfy to forward poll requests through ntfy.sh for APNs delivery. Without this, iOS delays notifications by 20-30+ minutes. Free tier allows 250 messages/day (no account needed). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7cdd7c7196
commit
efc71c9f22
3 changed files with 17 additions and 1 deletions
9
argocd/manifests/ntfy/configmap.yaml
Normal file
9
argocd/manifests/ntfy/configmap.yaml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: ntfy-config
|
||||
namespace: ntfy
|
||||
data:
|
||||
server.yml: |
|
||||
base-url: https://ntfy.ops.eblu.me
|
||||
upstream-base-url: https://ntfy.sh
|
||||
|
|
@ -17,11 +17,14 @@ spec:
|
|||
containers:
|
||||
- name: ntfy
|
||||
image: binwiederhier/ntfy:v2.11.0
|
||||
args: ["serve"]
|
||||
args: ["serve", "--config", "/etc/ntfy/server.yml"]
|
||||
ports:
|
||||
- containerPort: 80
|
||||
name: http
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /etc/ntfy/server.yml
|
||||
subPath: server.yml
|
||||
- name: cache
|
||||
mountPath: /var/cache/ntfy
|
||||
resources:
|
||||
|
|
@ -44,5 +47,8 @@ spec:
|
|||
initialDelaySeconds: 3
|
||||
periodSeconds: 10
|
||||
volumes:
|
||||
- name: config
|
||||
configMap:
|
||||
name: ntfy-config
|
||||
- name: cache
|
||||
emptyDir: {}
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||
kind: Kustomization
|
||||
namespace: ntfy
|
||||
resources:
|
||||
- configmap.yaml
|
||||
- deployment.yaml
|
||||
- service.yaml
|
||||
- ingress-tailscale.yaml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue