-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.config.yaml
More file actions
32 lines (28 loc) · 1.09 KB
/
example.config.yaml
File metadata and controls
32 lines (28 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
gotify:
url: https://gotify.example.com
apiToken: YOUR_CLIENT_TOKEN
matrix:
homeserverURL: https://matrix.example.com
matrixDomain: example.com # optional; derived from homeserver when omitted
username: bot
token: MATRIX_ACCESS_TOKEN
roomID: "!defaultroom:example.com" # default room (!id or #alias) to send messages to if no stream matches
encrypted: true
deviceID: MGBRIDGE
storePath: .gotify-matrix-bridge-store # path to store the matrix sdk sqlite database
# Read the template on each message and apply simple placeholder replacements.
# Defaults to messageTamplate.md when not set.
templatePath: messageTamplate.md
# Optional per-app routing rules. Each entry can fan-out to multiple rooms.
streams:
- name: personal-notify
apps: [1] # this is the app id, you can find it as https://<gotify_host>/#/messages/<app_id>
rooms:
- "!personal-notify:example.com"
- name: work-notify
apps: [2]
rooms:
- "!work-notify:example.com"
- "!alerts:example.com"
template: messageTamplate.md # optional per-stream template override
debug: false