This commit is contained in:
parent
a49b8b6d13
commit
5863b2f9e3
3 changed files with 17 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue