overleaf/services/chat/config/settings.defaults.js
2020-03-06 17:03:17 +01:00

23 lines
513 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: {
url:
process.env.MONGO_CONNECTION_STRING ||
`mongodb://${process.env.MONGO_HOST || 'localhost'}/sharelatex`
}
}