Skip to content
Snippets Groups Projects
Verified Commit c4f56adc authored by Tanner Prestegard's avatar Tanner Prestegard
Browse files

Set SERVER_EMAIL = ALERT_EMAIL_FROM for containers

This will (hopefully) allow us to receive error emails from the
container deployments on AWS.
parent c1098f99
No related branches found
No related tags found
No related merge requests found
......@@ -109,10 +109,10 @@ if hosts_from_env is not None:
ALLOWED_HOSTS += [SERVER_FQDN]
# Email settings - dependent on server hostname and FQDN ----------------------
SERVER_EMAIL = 'GraceDB <gracedb@{fqdn}>'.format(fqdn=SERVER_FQDN)
SERVER_EMAIL = ALERT_EMAIL_FROM
ALERT_EMAIL_TO = []
ALERT_EMAIL_BCC = []
ALERT_TEST_EMAIL_FROM = SERVER_EMAIL
ALERT_TEST_EMAIL_FROM = ALERT_EMAIL_FROM
ALERT_TEST_EMAIL_TO = []
# EMBB email settings
EMBB_MAIL_ADDRESS = 'embb@{fqdn}.ligo.org'.format(fqdn=SERVER_FQDN)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment