mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
add web-api host as ana option
This commit is contained in:
parent
63d7bb501b
commit
477c446ea8
1 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
module.exports =
|
module.exports =
|
||||||
redis:
|
redis:
|
||||||
realtime:
|
realtime:
|
||||||
host: process.env['REDIS_HOST'] or "localhostssss"
|
host: process.env['REDIS_HOST'] or "localhost"
|
||||||
port: process.env['REDIS_PORT'] or "6379"
|
port: process.env['REDIS_PORT'] or "6379"
|
||||||
password: process.env["REDIS_PASSWORD"] or ""
|
password: process.env["REDIS_PASSWORD"] or ""
|
||||||
key_schema:
|
key_schema:
|
||||||
|
@ -9,14 +9,14 @@ module.exports =
|
||||||
connectedUser: ({project_id, client_id})-> "connected_user:#{project_id}:#{client_id}"
|
connectedUser: ({project_id, client_id})-> "connected_user:#{project_id}:#{client_id}"
|
||||||
|
|
||||||
documentupdater:
|
documentupdater:
|
||||||
host: process.env['REDIS_HOST'] or "localhostssss"
|
host: process.env['REDIS_HOST'] or "localhost"
|
||||||
port: process.env['REDIS_PORT'] or "6379"
|
port: process.env['REDIS_PORT'] or "6379"
|
||||||
password: process.env["REDIS_PASSWORD"] or ""
|
password: process.env["REDIS_PASSWORD"] or ""
|
||||||
key_schema:
|
key_schema:
|
||||||
pendingUpdates: ({doc_id}) -> "PendingUpdates:#{doc_id}"
|
pendingUpdates: ({doc_id}) -> "PendingUpdates:#{doc_id}"
|
||||||
|
|
||||||
websessions:
|
websessions:
|
||||||
host: process.env['REDIS_HOST'] or "localhostssss"
|
host: process.env['REDIS_HOST'] or "localhost"
|
||||||
port: process.env['REDIS_PORT'] or "6379"
|
port: process.env['REDIS_PORT'] or "6379"
|
||||||
password: process.env["REDIS_PASSWORD"] or ""
|
password: process.env["REDIS_PASSWORD"] or ""
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ module.exports =
|
||||||
|
|
||||||
apis:
|
apis:
|
||||||
web:
|
web:
|
||||||
url: "http://#{process.env['WEB_HOST'] or "localhost"}:3000"
|
url: "http://#{process.env['WEB_API_HOST'] or process.env['WEB_HOST'] or "localhost"}:3000"
|
||||||
user: "sharelatex"
|
user: "sharelatex"
|
||||||
pass: "password"
|
pass: "password"
|
||||||
documentupdater:
|
documentupdater:
|
||||||
|
|
Loading…
Reference in a new issue