-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
51 lines (45 loc) · 1.93 KB
/
config.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
46
47
48
49
50
51
containers:
audiobookshelf:
keywords:
- requested download
- failed login
vaultwarden:
# The next 5 settings override the global settings only for this container.
ntfy_tags: closed_lock_with_key
ntfy_priority: 5
ntfy_topic: security
attachment_lines: 50
notification_cooldown: 2
keywords:
- login
- regex: (username|password).*incorrect # Use regex expressions when you need them
keywords_with_attachment:
- critical
# Just leave the containers blank if global keywords are enough
nextcloud:
immich_server:
global_keywords:
keywords:
- panic
keywords_with_attachment:
- fatal
notifications:
# At least one of the two (Ntfy/Apprise) is required.
ntfy:
url: http://your-ntfy-server # Required. The URL of your Ntfy instance
topic: loggifly # Required. the topic for Ntfy
token: ntfy-token # In case you need authentication
priority: 3 # Ntfy priority (1-5)
tags: kite,mag # Ntfy tags/emojis
apprise:
url: "discord://webhook-url" # Any Apprise-compatible URL (https://github.com/caronc/apprise/wiki)
# settings are optional because they all have default values
settings:
log_level: INFO # DEBUG, INFO, WARNING, ERROR
notification_cooldown: 5 # Seconds between alerts for same keyword (per container)
attachment_lines: 20 # Number of Lines to include in log attachments
multi_line_entries: true # Detect multi-line log entries
disable_restart: false # Disable restart when a config change is detected
disable_start_message: false # Suppress startup notification
disable_shutdown_message: false # Suppress shutdown notification
disable_restart_message: false # Suppress config reload notification