Skip to content

Commit

Permalink
Add EMAIL_TIMEOUT settings to debug #285
Browse files Browse the repository at this point in the history
Signed-off-by: James Noss <[email protected]>
  • Loading branch information
jamienoss committed Mar 21, 2024
1 parent 864ade0 commit a6ad1c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apprunner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ run:
- name: DJANGO_SETTINGS_MODULE
value: "biospecdb.settings.aws"
secrets:
- name: EMAIL_TIMEOUT
value-from: "arn:aws:secretsmanager:eu-west-2:339712857727:secret:EMAIL_TIMEOUT-rwHtBm"
- name: DJANGO_LOG_LEVEL
value-from: "arn:aws:secretsmanager:eu-west-2:339712857727:secret:DJANGO_LOG_LEVEL-K52Fqe"
- name: DB_BSR_HOST
Expand Down
1 change: 1 addition & 0 deletions biospecdb/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@
EMAIL_HOST_PASSWORD = os.getenv("EMAIL_HOST_PASSWORD")
EMAIL_FROM = f"admin@{HOST_DOMAIN}"
EMAIL_SUBJECT_PREFIX = os.getenv("EMAIL_SUBJECT_PREFIX")
EMAIL_TIMEOUT = os.getenv("EMAIL_TIMEOUT")

# Internationalization
# https://docs.djangoproject.com/en/4.1/topics/i18n/
Expand Down

0 comments on commit a6ad1c9

Please sign in to comment.