mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
3626243692
mongojs was enabling it by default as well.
18 lines
397 B
JavaScript
18 lines
397 B
JavaScript
module.exports = {
|
|
internal: {
|
|
notifications: {
|
|
port: 3042,
|
|
host: process.env.LISTEN_ADDRESS || 'localhost'
|
|
}
|
|
},
|
|
|
|
mongo: {
|
|
options: {
|
|
useUnifiedTopology:
|
|
(process.env.MONGO_USE_UNIFIED_TOPOLOGY || 'true') === 'true'
|
|
},
|
|
url:
|
|
process.env.MONGO_CONNECTION_STRING ||
|
|
`mongodb://${process.env.MONGO_HOST || 'localhost'}/sharelatex`
|
|
}
|
|
}
|