Files
umami-alerts/config.sample.toml
Chinmay D. Pai 602271c851 chore: add dry_run option to configuration
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2025-02-08 17:12:23 +05:30

60 lines
1.8 KiB
TOML

[app]
# Enable debug logging.
debug = false
# Enable dry run option for testing.
# Enabling this will generate the report but will not send an email.
dry_run = false
# The number of websites to process at once.
max_concurrent_jobs = 4
# The duration for which the report is generated. Can be daily or weekly.
report_type = "weekly"
[smtp]
# SMTP Host and Port
host = "smtp.example.com"
port = 587
# The username and password to access the SMTP
username = "your-username"
password = "your-password"
# Sets the From field in the email report. You may add a
# name here: Umami Reports <reports@example.com>
from = "reports@example.com"
# Enable this to skip checks for self-signed certificates
skip_tls_verify = false
# STARTTLS for SMTP.
tls = true
[websites.example]
# Disable report generation for the website.
# Remove this or set to false to enable processing this section.
disabled = true
base_url = "https://analytics.example.com"
# The UUID for the website to generate the report for.
# Can be found under the website settings.
id = "e97f683e-12e8-4fb5-970b-f5171804fe21"
# Set this to a sitename, or a URL. Whatever flaots your boat.
name = "Example Website"
# Umami does not have the concept of "API Keys". Instead, these keys
# are generated on each login. So a username and password with access
# is required here.
username = "your-username"
password = "your-password"
# Email reports are generated and sent per website.
recipients = ["user@example.com"]
# The timezone to be used for the website. This impacts the report data
# collected by the app.
timezone = "UTC"
# You may add more websites as such.
[websites.example-io]
base_url = "https://umami.example.com"
id = "e4de62a3-d40a-40da-b900-3ea016893f38"
name = "example.io"
username = "umami-user"
password = "hunter2"
recipients = [
"user2@example.com",
"user3@example.com",
]
timezone = "Asia/Kolkata"