overleaf/services/notifications/config/settings.defaults.js

19 lines
397 B
JavaScript
Raw Normal View History

2020-06-04 04:17:24 -04:00
module.exports = {
internal: {
notifications: {
port: 3042,
host: process.env.LISTEN_ADDRESS || 'localhost'
}
},
2016-01-14 07:35:16 -05:00
mongo: {
options: {
useUnifiedTopology:
(process.env.MONGO_USE_UNIFIED_TOPOLOGY || 'true') === 'true'
},
url:
process.env.MONGO_CONNECTION_STRING ||
`mongodb://${process.env.MONGO_HOST || 'localhost'}/sharelatex`
}
}