mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
update config to take explicit redis configs
This commit is contained in:
parent
cdf605e171
commit
5ad7482385
1 changed files with 9 additions and 9 deletions
|
@ -1,24 +1,24 @@
|
|||
module.exports =
|
||||
redis:
|
||||
realtime:
|
||||
host: process.env['REDIS_HOST'] or "localhost"
|
||||
port: process.env['REDIS_PORT'] or "6379"
|
||||
password: process.env["REDIS_PASSWORD"] or ""
|
||||
host: process.env['REAL_TIME_REDIS_HOST'] or process.env['REDIS_HOST'] or "localhost"
|
||||
port: process.env['REAL_TIME_REDIS_PORT'] or process.env['REDIS_PORT'] or "6379"
|
||||
password: process.env["REAL_TIME_REDIS_PASSWORD"] or process.env["REDIS_PASSWORD"] or ""
|
||||
key_schema:
|
||||
clientsInProject: ({project_id}) -> "clients_in_project:#{project_id}"
|
||||
connectedUser: ({project_id, client_id})-> "connected_user:#{project_id}:#{client_id}"
|
||||
|
||||
documentupdater:
|
||||
host: process.env['REDIS_HOST'] or "localhost"
|
||||
port: process.env['REDIS_PORT'] or "6379"
|
||||
password: process.env["REDIS_PASSWORD"] or ""
|
||||
host: process.env['DOC_UPDATER_REDIS_HOST'] or process.env['REDIS_HOST'] or "localhost"
|
||||
port: process.env['DOC_UPDATER_REDIS_PORT'] or process.env['REDIS_PORT'] or "6379"
|
||||
password: process.env["DOC_UPDATER_REDIS_PASSWORD"] or process.env["REDIS_PASSWORD"] or ""
|
||||
key_schema:
|
||||
pendingUpdates: ({doc_id}) -> "PendingUpdates:#{doc_id}"
|
||||
|
||||
websessions:
|
||||
host: process.env['REDIS_HOST'] or "localhost"
|
||||
port: process.env['REDIS_PORT'] or "6379"
|
||||
password: process.env["REDIS_PASSWORD"] or ""
|
||||
host: process.env['WEB_REDIS_HOST'] or process.env['REDIS_HOST'] or "localhost"
|
||||
port: process.env['WEB_REDIS_PORT'] or process.env['REDIS_PORT'] or "6379"
|
||||
password: process.env["WEB_REDIS_PASSWORD"] or process.env["REDIS_PASSWORD"] or ""
|
||||
|
||||
internal:
|
||||
realTime:
|
||||
|
|
Loading…
Reference in a new issue