settings.defaults.coffee 398 B

1234567891011121314151617181920
  1. Path = require('path')
  2. module.exports = Settings =
  3. internal:
  4. spelling:
  5. port: 3005
  6. host: process.env["LISTEN_ADDRESS"] or "localhost"
  7. redis:
  8. port: 6379
  9. host: process.env["REDIS_HOST"] or "localhost"
  10. password:""
  11. mongo:
  12. url : "mongodb://#{process.env["MONGO_HOST"] or "localhost"}/sharelatex"
  13. cacheDir: Path.resolve "cache"
  14. healthCheckUserId: "53c64d2fd68c8d000010bb5f"