overleaf/services/spelling/config/settings.defaults.coffee
2018-10-03 15:18:53 +01:00

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"