-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.example.yml
60 lines (55 loc) · 1.54 KB
/
config.example.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Database settings
database:
# MySQL connection string
# https://github.com/go-sql-driver/mysql#dsn-data-source-name
connection: "root:mypass@tcp(localhost:3306)/remindme"
# Log SQL statements, default disabled
logstatements: false
# Daemon settings
daemon:
# Intervals in which to run specific operations
intervals:
# Check for events, in seconds
events: 30
# Check for daily reminders, in seconds
dailyreminders: 600
# Matrix connector settings
matrix:
bot:
# Matrix user name
username: "iamabot"
# Matrix password
password: fsddf
# Matrix homeserver
homeserver: fsdf
# Device ID for the bot, used to identify the server connection
deviceid: "my-bot-12345"
# Set to true to allow end to end encryption
e2ee: false
# Device key for encryption
devicekey: "dlfjgaöldf"
# Set to true to join invited rooms and open a new channel for them
allowinvites: false
# Max amount of rooms the bot will join, 0 to disable the limit
roomlimit: 0
# Invites from the following users will always be followed
userwhitelist:
- "@me:example.com"
# iCal connector settings
ical:
# How often to fetch iCal resources for events, in minutes
refreshinterval: 60
# API settings
api:
enabled: false
# Overwrite listen address for the webserver
address: "0.0.0.0:8080"
# API Key used for authentication
apikey: xyz
# URL where the API can be reached (root level)
baseurl: https://example.com
# Logger settings
logger:
# Format must be one of: text, json
format: "text"
debug: false