added mongo connection string

This commit is contained in:
Henry Oswald 2018-10-03 11:43:33 +01:00
parent 0fec876f99
commit f379e4f5cb

View file

@ -8,4 +8,4 @@ module.exports =
host: process.env["LISTEN_ADDRESS"] or "localhost"
mongo:
url: "mongodb://#{process.env["MONGO_HOST"] or "localhost"}/sharelatex"
url: process.env['MONGO_CONNECTION_STRING'] or "mongodb://#{process.env["MONGO_HOST"] or "localhost"}/sharelatex"