mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 10:53:35 -05:00
a540754f6e
[misc] bulk replace localhost with 127.0.0.1 GitOrigin-RevId: d238f3635302e8ff5500d611108c4d1bef216726
27 lines
575 B
JavaScript
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,
|
|
},
|
|
},
|
|
}
|