2018-12-20 19:14:12 +00:00
|
|
|
module.exports = {
|
2018-12-20 19:14:14 +00:00
|
|
|
internal: {
|
|
|
|
chat: {
|
2024-04-25 12:56:00 +00:00
|
|
|
host: process.env.LISTEN_ADDRESS || '127.0.0.1',
|
2021-07-13 11:04:48 +00:00
|
|
|
port: 3010,
|
|
|
|
},
|
2018-12-20 19:14:14 +00:00
|
|
|
},
|
2014-08-15 09:50:36 +00:00
|
|
|
|
2018-12-20 19:14:14 +00:00
|
|
|
apis: {
|
|
|
|
web: {
|
2024-04-25 12:56:00 +00:00
|
|
|
url: `http://${process.env.WEB_HOST || '127.0.0.1'}:${
|
2020-08-10 16:01:11 +00:00
|
|
|
process.env.WEB_PORT || 3000
|
|
|
|
}`,
|
2024-02-06 09:34:15 +00:00
|
|
|
user: process.env.WEB_API_USER || 'overleaf',
|
2021-07-13 11:04:48 +00:00
|
|
|
pass: process.env.WEB_API_PASSWORD || 'password',
|
|
|
|
},
|
2018-12-20 19:14:14 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
mongo: {
|
2019-06-27 09:47:27 +00:00
|
|
|
url:
|
2020-03-06 16:03:17 +00:00
|
|
|
process.env.MONGO_CONNECTION_STRING ||
|
2024-04-25 12:56:00 +00:00
|
|
|
`mongodb://${process.env.MONGO_HOST || '127.0.0.1'}/sharelatex`,
|
2024-02-22 11:03:27 +00:00
|
|
|
options: {
|
|
|
|
monitorCommands: true,
|
|
|
|
},
|
2021-07-13 11:04:48 +00:00
|
|
|
},
|
2018-12-20 19:14:14 +00:00
|
|
|
}
|