2020-02-17 02:38:26 -05:00
|
|
|
const http = require('http')
|
|
|
|
http.globalAgent.maxSockets = 300
|
2015-10-06 11:41:35 -04:00
|
|
|
|
2020-02-17 02:38:25 -05:00
|
|
|
module.exports = {
|
2020-02-17 02:38:26 -05:00
|
|
|
internal: {
|
|
|
|
contacts: {
|
|
|
|
port: 3036,
|
2024-04-25 08:56:00 -04:00
|
|
|
host: process.env.LISTEN_ADDRESS || '127.0.0.1',
|
2021-07-13 07:04:47 -04:00
|
|
|
},
|
2020-02-17 02:38:26 -05:00
|
|
|
},
|
2015-10-06 11:41:35 -04:00
|
|
|
|
2020-02-17 02:38:26 -05:00
|
|
|
mongo: {
|
|
|
|
url:
|
|
|
|
process.env.MONGO_CONNECTION_STRING ||
|
2024-04-25 08:56:00 -04:00
|
|
|
`mongodb://${process.env.MONGO_HOST || '127.0.0.1'}/sharelatex`,
|
2024-02-22 06:03:27 -05:00
|
|
|
options: {
|
|
|
|
monitorCommands: true,
|
|
|
|
},
|
2021-07-13 07:04:47 -04:00
|
|
|
},
|
2020-02-17 02:38:26 -05:00
|
|
|
}
|