aboutsummaryrefslogtreecommitdiffstats
path: root/Aggrofile
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2023-09-27 18:30:05 +0300
committerJan Tuomi <jans.tuomi@gmail.com>2023-09-27 18:31:57 +0300
commit5e21128689f909309064025ace4526a330f0e58d (patch)
treeba49f30021ce3e8b1b387fe0aa2141f3dace609d /Aggrofile
parentda9b89d089482354bce0fc95b66f30fd078405b1 (diff)
Specialize EmailAlerter to use SendGrid API
Diffstat (limited to 'Aggrofile')
-rw-r--r--Aggrofile13
1 files changed, 5 insertions, 8 deletions
diff --git a/Aggrofile b/Aggrofile
index afd6bb7..e463b31 100644
--- a/Aggrofile
+++ b/Aggrofile
@@ -4,15 +4,12 @@
"host": "0.0.0.0",
"port": 8080
},
- "email_alerter": {
- "api_url": "${AGGRO_EMAIL_ALERT_API_URL}",
- "api_headers": {
- "Authorization": "${AGGRO_EMAIL_ALERT_API_AUTH}",
- "Content-Type": "application/json"
- },
- "email_from": "${AGGRO_EMAIL_ALERT_FROM}",
+ "sendgrid_alerter": {
+ "api_url": "${AGGRO_SENDGRID_API_URL}",
+ "api_token": "${AGGRO_SENDGRID_API_TOKEN}",
+ "email_from": "${AGGRO_SENDGRID_FROM}",
"email_to": [
- "${AGGRO_EMAIL_ALERT_TO}"
+ "${AGGRO_SENDGRID_TO}"
]
},
"plugins": {