mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 18:51:30 +00:00
b59326e96f
Use mongo command monitoring to add timing metrics GitOrigin-RevId: e7e5dd5cca1ba3802c02198ccf81058d4da3f1e7
27 lines
575 B
JavaScript
27 lines
575 B
JavaScript
module.exports = {
|
|
internal: {
|
|
chat: {
|
|
host: process.env.LISTEN_ADDRESS || 'localhost',
|
|
port: 3010,
|
|
},
|
|
},
|
|
|
|
apis: {
|
|
web: {
|
|
url: `http://${process.env.WEB_HOST || 'localhost'}:${
|
|
process.env.WEB_PORT || 3000
|
|
}`,
|
|
user: process.env.WEB_API_USER || 'overleaf',
|
|
pass: process.env.WEB_API_PASSWORD || 'password',
|
|
},
|
|
},
|
|
|
|
mongo: {
|
|
url:
|
|
process.env.MONGO_CONNECTION_STRING ||
|
|
`mongodb://${process.env.MONGO_HOST || 'localhost'}/sharelatex`,
|
|
options: {
|
|
monitorCommands: true,
|
|
},
|
|
},
|
|
}
|