2026-01-17 17:31:22 +01:00
|
|
|
# listen address
|
|
|
|
|
listen: "127.0.0.1:13000"
|
|
|
|
|
|
|
|
|
|
# these are the servers that the channels can use as destinations
|
|
|
|
|
servers:
|
|
|
|
|
default:
|
|
|
|
|
server: ntfy.sh
|
|
|
|
|
# set to auth with token
|
|
|
|
|
token: ~
|
|
|
|
|
# or set to auth as user
|
|
|
|
|
username: ~
|
|
|
|
|
password: ~
|
|
|
|
|
|
|
|
|
|
# this is where you can send messages to
|
|
|
|
|
channels:
|
|
|
|
|
# redirect topics directly
|
2026-01-17 17:53:16 +01:00
|
|
|
"serverevents":
|
|
|
|
|
destination: "default/sometopicnameforserverevents"
|
|
|
|
|
"otherevents":
|
|
|
|
|
destination: "default/someothertopicnameforevents"
|
2026-01-17 17:31:22 +01:00
|
|
|
# parse and use only part of topic
|
|
|
|
|
"prefix_{topic}":
|
2026-01-17 17:53:16 +01:00
|
|
|
destination: "prefixed/{topic}"
|
2026-01-17 17:31:22 +01:00
|
|
|
# or append a prefix to the topic
|
|
|
|
|
"{topic}":
|
2026-01-17 17:53:16 +01:00
|
|
|
destination: "prefixing/prefix_{topic}"
|