overleaf/services/contacts/config/settings.defaults.cjs

25 lines
506 B
JavaScript
Raw Normal View History

const http = require('node:http')
const https = require('node:https')
http.globalAgent.maxSockets = 300
http.globalAgent.keepAlive = false
https.globalAgent.keepAlive = false
module.exports = {
internal: {
contacts: {
port: 3036,
host: process.env.LISTEN_ADDRESS || '127.0.0.1',
2021-07-13 07:04:47 -04:00
},
},
mongo: {
url:
process.env.MONGO_CONNECTION_STRING ||
`mongodb://${process.env.MONGO_HOST || '127.0.0.1'}/sharelatex`,
options: {
monitorCommands: true,
},
2021-07-13 07:04:47 -04:00
},
}