From 83a249820773d06d8cb6ad11d9b8843e439d8473 Mon Sep 17 00:00:00 2001 From: Sergey Belov Date: Tue, 24 Sep 2024 08:45:55 -0600 Subject: [PATCH] AWS SES email notifications --- README.md | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9b1ada7..3774a86 100644 --- a/README.md +++ b/README.md @@ -78,4 +78,35 @@ Add these keys into `compose.yaml` in section `services:front:environnement`: ``` - PUSH_PUBLIC_KEY=your public key - PUSH_PRIVATE_KEY=your private key -``` \ No newline at end of file +``` + +## AWS SES email notifications + +1. Setup Amazon Simple Email Service in AWS: https://docs.aws.amazon.com/ses/latest/dg/setting-up.html + +2. Add email address you'll use to send notifications into "SOURCE", SES access such as ACCESS_KEY, SECRET_KEY, REGION + +``` + ses: + image: hardcoreeng/ses:v0.6.295 + container_name: ses + ports: + - 3335:3335 + environment: + - SOURCE= + - ACCESS_KEY= + - SECRET_KEY= + - REGION= + - PORT=3335 + restart: unless-stopped +``` + +3. Add SES container URL into transactor and account containers + +`transactor:environment` AND `account:environment`: + +``` +- SES_URL=http://ses:3335 +``` + +4. In `Settings -> Notifications` setup email notifications for events you need to be notified for. It's a user's setting not a company wide, meaning each user has to setup their own notification rules. \ No newline at end of file