settings.defaults.cjs 393 B

1234567891011121314151617181920
  1. const http = require('http')
  2. http.globalAgent.maxSockets = 300
  3. module.exports = {
  4. internal: {
  5. contacts: {
  6. port: 3036,
  7. host: process.env.LISTEN_ADDRESS || 'localhost',
  8. },
  9. },
  10. mongo: {
  11. url:
  12. process.env.MONGO_CONNECTION_STRING ||
  13. `mongodb://${process.env.MONGO_HOST || 'localhost'}/sharelatex`,
  14. options: {
  15. monitorCommands: true,
  16. },
  17. },
  18. }