2018-12-20 14:14:12 -05:00
|
|
|
module.exports = {
|
2018-12-20 14:14:14 -05:00
|
|
|
internal: {
|
|
|
|
chat: {
|
2020-03-06 11:03:17 -05:00
|
|
|
host: process.env.LISTEN_ADDRESS || 'localhost',
|
2021-07-13 07:04:48 -04:00
|
|
|
port: 3010,
|
|
|
|
},
|
2018-12-20 14:14:14 -05:00
|
|
|
},
|
2014-08-15 05:50:36 -04:00
|
|
|
|
2018-12-20 14:14:14 -05:00
|
|
|
apis: {
|
|
|
|
web: {
|
2020-08-10 12:01:11 -04:00
|
|
|
url: `http://${process.env.WEB_HOST || 'localhost'}:${
|
|
|
|
process.env.WEB_PORT || 3000
|
|
|
|
}`,
|
2020-03-06 11:03:17 -05:00
|
|
|
user: process.env.WEB_API_USER || 'sharelatex',
|
2021-07-13 07:04:48 -04:00
|
|
|
pass: process.env.WEB_API_PASSWORD || 'password',
|
|
|
|
},
|
2018-12-20 14:14:14 -05:00
|
|
|
},
|
|
|
|
|
|
|
|
mongo: {
|
2019-06-27 05:47:27 -04:00
|
|
|
url:
|
2020-03-06 11:03:17 -05:00
|
|
|
process.env.MONGO_CONNECTION_STRING ||
|
2021-07-13 07:04:48 -04:00
|
|
|
`mongodb://${process.env.MONGO_HOST || 'localhost'}/sharelatex`,
|
|
|
|
},
|
2018-12-20 14:14:14 -05:00
|
|
|
}
|