matrix-alertbot/tests/resources/config/config.minimal.yml

38 lines
959 B
YAML
Raw Normal View History

2022-07-09 12:22:05 +02:00
# Welcome to the sample config file
# Below you will find various config sections and options
# Default values are shown
# Options for connecting to the bot's Matrix account
matrix:
2024-01-22 11:35:13 +01:00
accounts:
- # The Matrix User ID of the bot account
id: "@fakes_user:matrix.example.com"
2022-10-26 13:25:47 +02:00
2024-01-22 11:35:13 +01:00
# Matrix account password (optional if access token used)
password: "password"
2022-10-26 13:25:47 +02:00
2024-01-22 11:35:13 +01:00
# The URL of the homeserver to connect to
url: https://matrix.example.com
2022-10-26 13:25:47 +02:00
# List of rooms where the bot can interact
allowed_rooms:
- "!abcdefgh:matrix.example.com"
2022-07-09 12:22:05 +02:00
webhook:
2022-10-26 13:25:47 +02:00
# Address and port for which the bot should listen to
2022-07-09 12:22:05 +02:00
address: 0.0.0.0
port: 8080
alertmanager:
2022-10-26 13:25:47 +02:00
# Url to Alertmanager server
2022-07-09 12:22:05 +02:00
url: http://localhost:9093
cache:
# The path to a directory for caching alerts and silences
path: "data/cache"
storage:
# The path to a directory for internal bot storage
# containing encryption keys, sync tokens, etc.
path: "data/store"