23 lines
985 B
YAML
23 lines
985 B
YAML
# Self-hosted ntfy configuration for this blog.
|
|
# Docs: https://docs.ntfy.sh/config/
|
|
#
|
|
# Uncomment and set base-url to the address your phone uses when it must be
|
|
# absolute (e.g. "http://192.168.1.20:8085"). When empty, ntfy derives it from
|
|
# each request's Host header, which is fine on a LAN.
|
|
# base-url: "http://localhost:8085"
|
|
|
|
listen-http: ":80"
|
|
|
|
# Keep notifications on disk so a phone that was offline can still fetch them.
|
|
cache-file: "/var/cache/ntfy/cache.db"
|
|
cache-duration: "48h"
|
|
|
|
# This instance is meant for your own devices. Anyone who can reach port 8085
|
|
# and knows the topic can publish or read messages, so the topic is a secret.
|
|
# To lock the server down instead, set this to "deny-all" and create a token:
|
|
# docker compose exec ntfy ntfy user add --role=admin admin
|
|
# docker compose exec ntfy ntfy token add --label=blog admin
|
|
# then put the token in BLOG_NTFY_TOKEN and subscribe with the same account.
|
|
auth-default-access: "read-write"
|
|
enable-signup: false
|