mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 07:13:39 -05:00
20 lines
No EOL
494 B
CoffeeScript
20 lines
No EOL
494 B
CoffeeScript
Path = require('path')
|
|
|
|
module.exports = Settings =
|
|
internal:
|
|
spelling:
|
|
port: 3005
|
|
host: process.env["LISTEN_ADDRESS"] or "localhost"
|
|
|
|
redis:
|
|
port: process.env['REDIS_PORT']
|
|
host: process.env["REDIS_HOST"] or "localhost"
|
|
password: process.env["REDIS_PASSWORD"] or ""
|
|
|
|
mongo:
|
|
url: process.env['MONGO_CONNECTION_STRING'] or "mongodb://#{process.env["MONGO_HOST"] or "localhost"}/sharelatex"
|
|
|
|
cacheDir: Path.resolve "cache"
|
|
|
|
|
|
healthCheckUserId: "53c64d2fd68c8d000010bb5f" |