Skip to content

Commit

Permalink
fix: restore email settings
Browse files Browse the repository at this point in the history
  • Loading branch information
philtweir committed Oct 1, 2024
1 parent 5771cdc commit 6147636
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions settings_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
COMPRESS_OFFLINE = COMPRESS_OFFLINE and COMPRESS_OFFLINE.lower() == "true"
COMPRESS_ENABLED = os.getenv("COMPRESS_ENABLED")
COMPRESS_ENABLED = COMPRESS_ENABLED and COMPRESS_ENABLED.lower() == "true"
EMAIL_BACKEND = os.getenv("EMAIL_BACKEND") or EMAIL_BACKEND
EMAIL_USE_TLS = os.getenv("EMAIL_USE_TLS") or EMAIL_USE_TLS
EMAIL_HOST = os.getenv("EMAIL_HOST") or EMAIL_HOST
EMAIL_HOST_USER = os.getenv("EMAIL_HOST_USER") or EMAIL_HOST_USER
EMAIL_HOST_PASSWORD = os.getenv("EMAIL_HOST_PASSWORD") or EMAIL_HOST_PASSWORD
EMAIL_PORT = os.getenv("EMAIL_PORT") or EMAIL_PORT

# Cover both forms, the first being deprecated
ARCHES_NAMESPACE_FOR_DATA_EXPORT = os.getenv("ARCHES_NAMESPACE_FOR_DATA_EXPORT", "http://arches:8000/")
Expand Down

0 comments on commit 6147636

Please sign in to comment.