mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-29 18:02:29 +00:00
a540754f6e
[misc] bulk replace localhost with 127.0.0.1 GitOrigin-RevId: d238f3635302e8ff5500d611108c4d1bef216726
20 lines
393 B
JavaScript
20 lines
393 B
JavaScript
const http = require('http')
|
|
http.globalAgent.maxSockets = 300
|
|
|
|
module.exports = {
|
|
internal: {
|
|
contacts: {
|
|
port: 3036,
|
|
host: process.env.LISTEN_ADDRESS || '127.0.0.1',
|
|
},
|
|
},
|
|
|
|
mongo: {
|
|
url:
|
|
process.env.MONGO_CONNECTION_STRING ||
|
|
`mongodb://${process.env.MONGO_HOST || '127.0.0.1'}/sharelatex`,
|
|
options: {
|
|
monitorCommands: true,
|
|
},
|
|
},
|
|
}
|