mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
21 lines
461 B
JavaScript
21 lines
461 B
JavaScript
const http = require('http')
|
|
http.globalAgent.maxSockets = 300
|
|
|
|
module.exports = {
|
|
internal: {
|
|
contacts: {
|
|
port: 3036,
|
|
host: process.env.LISTEN_ADDRESS || 'localhost',
|
|
},
|
|
},
|
|
|
|
mongo: {
|
|
options: {
|
|
useUnifiedTopology:
|
|
(process.env.MONGO_USE_UNIFIED_TOPOLOGY || 'true') === 'true',
|
|
},
|
|
url:
|
|
process.env.MONGO_CONNECTION_STRING ||
|
|
`mongodb://${process.env.MONGO_HOST || 'localhost'}/sharelatex`,
|
|
},
|
|
}
|