overleaf/services/chat/config/settings.defaults.cjs
Jakob Ackermann a540754f6e Merge pull request #18116 from overleaf/jpa-bulk-replace-localhost
[misc] bulk replace localhost with 127.0.0.1

GitOrigin-RevId: d238f3635302e8ff5500d611108c4d1bef216726
2024-04-26 08:04:39 +00:00

27 lines
575 B
JavaScript

module.exports = {
internal: {
chat: {
host: process.env.LISTEN_ADDRESS || '127.0.0.1',
port: 3010,
},
},
apis: {
web: {
url: `http://${process.env.WEB_HOST || '127.0.0.1'}:${
process.env.WEB_PORT || 3000
}`,
user: process.env.WEB_API_USER || 'overleaf',
pass: process.env.WEB_API_PASSWORD || 'password',
},
},
mongo: {
url:
process.env.MONGO_CONNECTION_STRING ||
`mongodb://${process.env.MONGO_HOST || '127.0.0.1'}/sharelatex`,
options: {
monitorCommands: true,
},
},
}