ntfy: iOS instant notifications
Some checks failed
/ Ansible Lint (push) Failing after 2m8s

This commit is contained in:
chris 2025-06-30 21:11:48 +02:00
commit 5863b2f9e3
Signed by: c6ristian
SSH key fingerprint: SHA256:B3m+yzpaxGXSEcDBpPHfvza/DNC0wuX+CKMeGq8wgak
3 changed files with 17 additions and 3 deletions

View file

@ -11,6 +11,7 @@ services:
- ./configs/server.yml:/etc/ntfy/server.yml
ports:
- 2586:2586
- 9586:9586
healthcheck: # optional: remember to adapt the host:port to your environment
test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:2586/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"]
interval: 60s

View file

@ -2,12 +2,20 @@ base-url: "https://ntfy.hamburg.ccc.de"
default-host: "https://ntfy.hamburg.ccc.de"
listen-http: ":2586"
behind-proxy: true
keepalive-interval: "45s"
cache-file: "/var/cache/ntfy/cache.db"
attachment-cache-dir: "/var/cache/ntfy/attachments"
log-format: json
enable-metrics: true
metrics-listen-http: ":9586"
auth-default-access: "deny-all"
auth-file: "/var/lib/ntfy/user.db"
attachment-cache-dir: "/var/cache/ntfy/attachments"
web-push-public-key: "BCx7PqDiVNlOiAHHfSxjbTle_LN4hetwHYi58GJhQxiY33AQ663IaJVro7B28j-1KOqwdzKco3dMMwzBJl9OQ90"
web-push-private-key: {{ secret__ntfy_web_push_private_key }}
web-push-file: "/var/cache/ntfy/webpush.db"
web-push-email-address: "mailto:noc@lists.hamburg.ccc.de"
upstream-base-url: "https://ntfy.sh"