mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-28 04:50:52 +00:00
Merge pull request #79 from overleaf/ho-mongo-connection-string
use MONGO_CONNECTION_STRING in settings.defaults.coffee if set
This commit is contained in:
commit
f49f5cbf05
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ module.exports =
|
|||
dispatcherCount: process.env["DISPATCHER_COUNT"]
|
||||
|
||||
mongo:
|
||||
url: "mongodb://#{process.env["MONGO_HOST"] or "localhost"}/sharelatex"
|
||||
url : process.env['MONGO_CONNECTION_STRING'] || "mongodb://#{process.env['MONGO_HOST'] or '127.0.0.1'}/sharelatex"
|
||||
|
||||
sentry:
|
||||
dsn: process.env.SENTRY_DSN
|
||||
|
|
Loading…
Reference in a new issue