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

19 lines
397 B
JavaScript
Raw Normal View History

2020-06-04 08:17:24 +00:00
module.exports = {
internal: {
notifications: {
port: 3042,
host: process.env.LISTEN_ADDRESS || 'localhost'
}
},
2016-01-14 12:35:16 +00: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`
}
}