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,
2021-07-13 11:04:47 +00:00
host: process.env.LISTEN_ADDRESS || 'localhost',
},
},
mongo: {
url:
process.env.MONGO_CONNECTION_STRING ||
2021-07-13 11:04:47 +00:00
`mongodb://${process.env.MONGO_HOST || 'localhost'}/sharelatex`,
options: {
monitorCommands: true,
},
2021-07-13 11:04:47 +00:00
},
}