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

21 lines
393 B
JavaScript
Raw Normal View History

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