2018-12-20 19:14:12 +00:00
|
|
|
module.exports = {
|
2018-12-20 19:14:14 +00:00
|
|
|
internal: {
|
|
|
|
chat: {
|
|
|
|
host: process.env['LISTEN_ADDRESS'] || 'localhost',
|
|
|
|
port: 3010
|
|
|
|
}
|
|
|
|
},
|
2014-08-15 09:50:36 +00:00
|
|
|
|
2018-12-20 19:14:14 +00:00
|
|
|
apis: {
|
|
|
|
web: {
|
|
|
|
url: `http://${process.env['WEB_HOST'] || 'localhost'}:${process.env[
|
|
|
|
'WEB_PORT'
|
|
|
|
] || 3000}`,
|
|
|
|
user: 'sharelatex',
|
|
|
|
pass: 'password'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
mongo: {
|
2019-06-27 09:47:27 +00:00
|
|
|
url:
|
|
|
|
process.env['MONGO_CONNECTION_STRING'] ||
|
|
|
|
`mongodb://${process.env['MONGO_HOST'] || 'localhost'}/sharelatex`
|
2018-12-20 19:14:14 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
redis: {
|
|
|
|
web: {
|
|
|
|
host: process.env['REDIS_HOST'] || 'localhost',
|
|
|
|
port: '6379',
|
2019-01-04 11:30:18 +00:00
|
|
|
password: process.env['REDIS_PASSWORD'] || ''
|
2018-12-20 19:14:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|