provide mail env vars

This commit is contained in:
Daniel afx 2022-02-05 05:01:57 +02:00
parent 82226f9d61
commit 1b6d3e5901

View file

@ -10,3 +10,9 @@ class Config(object):
STATIC_FOLDER = f"{os.getenv('APP_FOLDER')}/forest/static"
MEDIA_FOLDER = f"{os.getenv('APP_FOLDER')}/forest/media"
ADMIN_PREFIX = "fadmin"
MAIL_SERVER = f"{os.getenv('MAIL_SERVER')}"
MAIL_USERNAME = f"{os.getenv('MAIL_USERNAME')}"
MAIL_PASSWORD = f"{os.getenv('MAIL_PASSWORD')}"
MAIL_PORT = f"{os.getenv('MAIL_PORT')}"
MAIL_SUBJECT_PREFIX = f"{os.getenv('MAIL_SUBJECT_PREFIX')}"
MAIL_ADMIN = f"{os.getenv('MAIL_ADMIN')}"