mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-27 22:02:05 +00:00
28 lines
645 B
JavaScript
28 lines
645 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 || 'sharelatex',
|
|
pass: process.env.WEB_API_PASSWORD || 'password',
|
|
},
|
|
},
|
|
|
|
mongo: {
|
|
options: {
|
|
useUnifiedTopology:
|
|
(process.env.MONGO_USE_UNIFIED_TOPOLOGY || 'true') === 'true',
|
|
},
|
|
url:
|
|
process.env.MONGO_CONNECTION_STRING ||
|
|
`mongodb://${process.env.MONGO_HOST || 'localhost'}/sharelatex`,
|
|
},
|
|
}
|