mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
add MONGO_CONNECTION_STRING and REDIS_PASSWORD
This commit is contained in:
parent
872f28117c
commit
1b3f9306ba
1 changed files with 6 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
module.exports =
|
settings =
|
||||||
internal:
|
internal:
|
||||||
chat:
|
chat:
|
||||||
host: process.env['LISTEN_ADDRESS'] or "localhost"
|
host: process.env['LISTEN_ADDRESS'] or "localhost"
|
||||||
|
@ -11,10 +11,13 @@ module.exports =
|
||||||
pass: "password"
|
pass: "password"
|
||||||
|
|
||||||
mongo:
|
mongo:
|
||||||
url : "mongodb://#{process.env['MONGO_HOST'] || "localhost"}/sharelatex"
|
url: process.env['MONGO_CONNECTION_STRING'] or "mongodb://#{process.env["MONGO_HOST"] or "localhost"}/sharelatex"
|
||||||
|
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
web:
|
web:
|
||||||
host: process.env['REDIS_HOST'] || "localhost"
|
host: process.env['REDIS_HOST'] || "localhost"
|
||||||
port: "6379"
|
port: "6379"
|
||||||
password: ""
|
password: process.env['REDIS_PASSWORD'] || ""
|
||||||
|
|
||||||
|
module.exports = settings
|
Loading…
Reference in a new issue