aboutsummaryrefslogtreecommitdiffstats
path: root/Aggrofile
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2023-09-22 12:20:33 +0300
committerJan Tuomi <jans.tuomi@gmail.com>2023-09-22 12:20:33 +0300
commitcc8680564d259313042b211c0d40fa818b32059a (patch)
tree982aede1a088565d8dbbff3736838363923b9ddf /Aggrofile
parent27d7323dc47a06553e7c664f52102f4ffe120759 (diff)
Add email alerts
Diffstat (limited to 'Aggrofile')
-rw-r--r--Aggrofile14
1 files changed, 12 insertions, 2 deletions
diff --git a/Aggrofile b/Aggrofile
index 96569da..6f6864c 100644
--- a/Aggrofile
+++ b/Aggrofile
@@ -1,7 +1,17 @@
{
"db_path": "db.json",
- "server_host": "0.0.0.0",
- "server_port": 8080,
+ "server": {
+ "host": "0.0.0.0",
+ "port": 8080
+ },
+ "email_alerter": {
+ "api_url": "${AGGRO_EMAIL_ALERT_API_URL}",
+ "api_auth": "${AGGRO_EMAIL_ALERT_API_AUTH}",
+ "email_from": "${AGGRO_EMAIL_ALERT_FROM}",
+ "email_to": [
+ "${AGGRO_EMAIL_ALERT_TO}"
+ ]
+ },
"plugins": {
"aaniwalli_scraper": {
"plugin": "ScraperSourcePlugin",