Ntfy

H
haraldv
21.03.2026
Tools

Push notifications via HTTP. No account required.

3
YAML
apiVersion: v1
kind: Pod
metadata:
  name: ntfy
  labels:
    app: ntfy
spec:
  restartPolicy: Always
  containers:
  - name: ntfy
    image: docker.io/binwiederhier/ntfy:latest
    ports:
    - hostPort: 8080
      containerPort: 80
    env:
    - name: TZ
      value: Europe/Vienna
    - name: NTFY_BASE_URL
      value: https://ntfy.example.com
    - name: NTFY_AUTH_DEFAULT_ACCESS
      value: deny-all
    - name: NTFY_BEHIND_PROXY
      value: 'true'
    volumeMounts:
    - name: vol-0
      mountPath: /var/cache/ntfy
    - name: vol-1
      mountPath: /etc/ntfy
    command:
    - serve
    securityContext:
      runAsUser: ''
      runAsGroup: ''
  volumes:
  - name: vol-0
    hostPath:
      path: ~/ntfy/cache
      type: Directory
  - name: vol-1
    hostPath:
      path: ~/ntfy/config
      type: Directory

Comments 0

No comments yet. Be the first!

Log in to leave a comment.

Login