argocd/apps/ntfy/deployment.yaml

49 lines
1.1 KiB
YAML
Raw Normal View History

2026-10-11 21:03:33 +02:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: ntfy
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: ntfy
template:
metadata:
labels:
app: ntfy
spec:
2026-10-11 21:37:30 +02:00
# No <SERVICE>_PORT=tcp://... env vars: apps like Paperless read
# PAPERLESS_PORT as their own setting and crash.
enableServiceLinks: false
2026-10-11 21:03:33 +02:00
containers:
- name: ntfy
image: binwiederhier/ntfy:v2.29.0
args: ["serve"]
ports:
- name: http
containerPort: 80
volumeMounts:
- name: config
mountPath: /etc/ntfy
- name: data
mountPath: /var/lib/ntfy
readinessProbe:
httpGet:
path: /v1/health
port: http
resources:
requests:
cpu: 10m
memory: 32Mi
limits:
memory: 128Mi
volumes:
- name: config
configMap:
name: ntfy-config
- name: data
persistentVolumeClaim:
claimName: ntfy-data