-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathkeel-telegram-bot_example.yaml
45 lines (41 loc) · 1.34 KB
/
keel-telegram-bot_example.yaml
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
keel-telegram-bot:
# Determines the log level of the application, one of: debug, info, warning, error, fatal, panic
log_level: warning
# Keel specific configuration options
keel:
# Hostname of the Keel instance
host: localhost
# Port of the Keel instance
port: 9300
# Whether to use TLS when communicating with Keel
ssl: true
# Username to use when authenticating with Keel
username: myuser
# Password to use when authenticating with Keel
password: mypassword
# Approval Monitor specific configuration options
monitor:
# Interval to check for pending approvals
interval: 10s
# Telegram specific configuration options
telegram:
# List of Telegram usernames that are allowed to approve updates
admin_usernames:
- myadminuser
- myotheradminuser
# Telegram bot token
bot_token: 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
# List of Telegram chat IDs to send notifications to
chat_ids:
- 12345678
- 87654321
# List of filters to apply before sending notifications and responding to bot commands
filters:
- chat_id: 12345678
identifier: ".*something.*"
# Prometheus exporter specific configuration options
stats:
# Whether to enable the Prometheus exporter
enabled: true
# Port to provide Prometheus metrics on
port: 8000