Skip to content

Commit

Permalink
Add config file
Browse files Browse the repository at this point in the history
  • Loading branch information
folix-01 committed Apr 17, 2024
1 parent 227422e commit 7f89eec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
bin/
buildout-cache/
buildout.cfg
config.py
develop-eggs/
eggs/
etc/
Expand Down
7 changes: 7 additions & 0 deletions config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import os

MAIL_SERVER = os.environ.get("RER_NEWSLETTERDISPATCHER_MAIL_SERVER", default="")
SENTRY_DSN = os.environ.get("RER_NEWSLETTERDISPATCHER_SENTRY_DSN", default="")

# NOTE: Redis default port is 6379
REDIS_PORT = os.environ.get("RER_NEWSLETTERDISPATCHER_REDIS_PORT", default=6379)

0 comments on commit 7f89eec

Please sign in to comment.