# ntfy-Serverkonfiguration (im Container: /etc/ntfy/server.yml) base-url: "https://push.example.com" behind-proxy: true cache-file: "/var/cache/ntfy/cache.db" auth-file: "/var/lib/ntfy/user.db" # Ohne Anmeldung darf niemand lesen oder schreiben — der Topic-Name ist kein Geheimnis. auth-default-access: "deny-all" # Benutzer und Rechte danach im Container anlegen: # docker compose -f ntfy-compose.yml exec ntfy ntfy user add --role=admin ich # docker compose -f ntfy-compose.yml exec ntfy ntfy user add meineapp-alerts # docker compose -f ntfy-compose.yml exec ntfy ntfy access meineapp-alerts meineapp-ops write-only # docker compose -f ntfy-compose.yml exec ntfy ntfy token add meineapp-alerts # → tk_… in die App-.env