From 4b455e0fd85d7d13a6e02f6dfaaa6a97e3a050e5 Mon Sep 17 00:00:00 2001 From: Philipp Heckel Date: Fri, 29 Oct 2021 14:03:41 -0400 Subject: [PATCH] Config file --- config/config.yml | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/config/config.yml b/config/config.yml index 553ff00..3d91ec3 100644 --- a/config/config.yml +++ b/config/config.yml @@ -1,9 +1,25 @@ # ntfy config file # Listen address for the HTTP web server -# -# Format: : -# Default: :80 -# Required: No +# Format: : # # listen-http: ":80" + +# If set, also publish messages to a Firebase Cloud Messaging (FCM) topic for your app. +# This is optional and only required to support Android apps (which don't allow background services anymore). +# +# firebase-key-file: + +# Duration for which messages will be buffered before they are deleted. +# This is required to support the "since=..." and "poll=1" parameter. +# +# message-buffer-duration: 12h + +# Interval in which keepalive messages are sent to the client. This is to prevent +# intermediaries closing the connection for inactivity. +# +# keepalive-interval: 30s + +# Interval in which the manager prunes old messages, deletes topics and prints the stats. +# +# manager-interval: 1m