mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
set redis port via env var
This commit is contained in:
parent
93cf574251
commit
ff673c71d5
1 changed files with 4 additions and 4 deletions
|
@ -21,7 +21,7 @@ module.exports =
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
realtime:
|
realtime:
|
||||||
port: "6379"
|
port: process.env["REDIS_PORT"] or "6379"
|
||||||
host: process.env["REDIS_HOST"] or "localhost"
|
host: process.env["REDIS_HOST"] or "localhost"
|
||||||
password: process.env["REDIS_PASSWORD"]
|
password: process.env["REDIS_PASSWORD"]
|
||||||
key_schema:
|
key_schema:
|
||||||
|
@ -33,7 +33,7 @@ module.exports =
|
||||||
# key_schema:
|
# key_schema:
|
||||||
# pendingUpdates: ({doc_id}) -> "PendingUpdates:{#{doc_id}}"
|
# pendingUpdates: ({doc_id}) -> "PendingUpdates:{#{doc_id}}"
|
||||||
documentupdater:
|
documentupdater:
|
||||||
port: "6379"
|
port: process.env["REDIS_PORT"] or "6379"
|
||||||
host: process.env["REDIS_HOST"] or "localhost"
|
host: process.env["REDIS_HOST"] or "localhost"
|
||||||
password: process.env["REDIS_PASSWORD"]
|
password: process.env["REDIS_PASSWORD"]
|
||||||
key_schema:
|
key_schema:
|
||||||
|
@ -64,7 +64,7 @@ module.exports =
|
||||||
# ranges: ({doc_id}) -> "Ranges:{#{doc_id}}"
|
# ranges: ({doc_id}) -> "Ranges:{#{doc_id}}"
|
||||||
# projectState: ({project_id}) -> "ProjectState:{#{project_id}}"
|
# projectState: ({project_id}) -> "ProjectState:{#{project_id}}"
|
||||||
history:
|
history:
|
||||||
port: "6379"
|
port: process.env["REDIS_PORT"] or "6379"
|
||||||
host: process.env["REDIS_HOST"] or "localhost"
|
host: process.env["REDIS_HOST"] or "localhost"
|
||||||
password: process.env["REDIS_PASSWORD"]
|
password: process.env["REDIS_PASSWORD"]
|
||||||
key_schema:
|
key_schema:
|
||||||
|
@ -82,7 +82,7 @@ module.exports =
|
||||||
# uncompressedHistoryOps: ({doc_id}) -> "UncompressedHistoryOps:{#{doc_id}}"
|
# uncompressedHistoryOps: ({doc_id}) -> "UncompressedHistoryOps:{#{doc_id}}"
|
||||||
# docsWithHistoryOps: ({project_id}) -> "DocsWithHistoryOps:{#{project_id}}"
|
# docsWithHistoryOps: ({project_id}) -> "DocsWithHistoryOps:{#{project_id}}"
|
||||||
lock:
|
lock:
|
||||||
port: "6379"
|
port: process.env["REDIS_PORT"] or "6379"
|
||||||
host: process.env["REDIS_HOST"] or "localhost"
|
host: process.env["REDIS_HOST"] or "localhost"
|
||||||
password: process.env["REDIS_PASSWORD"]
|
password: process.env["REDIS_PASSWORD"]
|
||||||
key_schema:
|
key_schema:
|
||||||
|
|
Loading…
Reference in a new issue