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

19 lines
402 B
JavaScript
Raw Normal View History

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