mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-02 17:20:57 +00:00
update config to use more env vars
This commit is contained in:
parent
3dd8513015
commit
faedd31957
1 changed files with 3 additions and 3 deletions
|
@ -7,12 +7,12 @@ module.exports = Settings =
|
|||
host: process.env["LISTEN_ADDRESS"] or "localhost"
|
||||
|
||||
redis:
|
||||
port: 6379
|
||||
port: process.env['REDIS_PORT']
|
||||
host: process.env["REDIS_HOST"] or "localhost"
|
||||
password:""
|
||||
password: process.env["REDIS_PASSWORD"] or ""
|
||||
|
||||
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"
|
||||
|
||||
cacheDir: Path.resolve "cache"
|
||||
|
||||
|
|
Loading…
Reference in a new issue