Deploy a simple SMTP server to test the email notifications¶
If you are working on a test environment and willing to have email alerts, here is a simple way to configure the SMTP settings to make it work.
- Grab the docker-compose file: here.
- Run the command:
docker compose up - The mails will be available here by default:
localhost:5000 - Modify the mail settings in the environment variables:
vi /.envSMTP_SERVER=localhostEMAIL_FROM=from@from.com
- Launch Watcher:
python Watcher/Watcher/manage.py runserver