Skip to content

Commit

Permalink
Add MONGO_URI as envvar (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbournhonesque authored Feb 12, 2021
1 parent e2dd780 commit 3764d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robotoff/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
DB_PASSWORD = os.environ.get("DB_PASSWORD", "postgres")
DB_HOST = os.environ.get("DB_HOST", "localhost")

MONGO_URI = "mongodb://localhost:27017"
MONGO_URI = os.environ.get("MONGO_URI", "mongodb://localhost:27017")

IPC_AUTHKEY = os.environ.get("IPC_AUTHKEY", "IPC").encode("utf-8")
IPC_HOST = os.environ.get("IPC_HOST", "localhost")
Expand Down

0 comments on commit 3764d9d

Please sign in to comment.