mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05: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"]
|
dispatcherCount: process.env["DISPATCHER_COUNT"]
|
||||||
|
|
||||||
mongo:
|
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:
|
sentry:
|
||||||
dsn: process.env.SENTRY_DSN
|
dsn: process.env.SENTRY_DSN
|
||||||
|
|
Loading…
Reference in a new issue