27 lines
666 B
YAML
27 lines
666 B
YAML
# 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
|
|
"serverevents":
|
|
destination: "default/sometopicnameforserverevents"
|
|
"otherevents":
|
|
destination: "default/someothertopicnameforevents"
|
|
# parse and use only part of topic
|
|
"prefix_{topic}":
|
|
destination: "prefixed/{topic}"
|
|
# or append a prefix to the topic
|
|
"{topic}":
|
|
destination: "prefixing/prefix_{topic}"
|