forked from Ondolin/gotify-matrix-bot
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathexample.config.yaml
More file actions
28 lines (28 loc) · 903 Bytes
/
example.config.yaml
File metadata and controls
28 lines (28 loc) · 903 Bytes
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
gotify:
# URL of your gotify server
url: https://gotify.yourdomain.com
# Create an API Token in GOTIFY
apiToken: "asdjklreujiot"
matrix:
# Your homeserver.
homeserverURL: "https://chat.yourdomain.com"
# Matrix domain. Optional if it matches just the hostname.
matrixDomain: "yourdomain.com"
# Username. Must already exist on the server
username: "botname"
# Password for the user
password: "dsfjgkldsfjgkl"
# Alternatively, you can use an access token instead of username/password
token: ""
roomID: "!sdjfklsdjlf:yourdomain.com"
logging:
# can be DEBUG, INFO, WARN, ERROR
level: INFO
# can be PLAIN, COLOR, JSON
format: color
downloader:
allowedHosts:
# Set this to allow image downloading from gotify messages. The format is regexp.
# If you really want to allow all hosts, set this to ".*"
- ".*\\.yourdomain\\.com"
- ".*\\.trusteddomain\\.com"