mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 07:12:18 +00:00
pass redis port
This commit is contained in:
parent
e322e46900
commit
ff8afb6c24
2 changed files with 3 additions and 5 deletions
|
@ -8,8 +8,6 @@ Settings = require "settings-sharelatex"
|
|||
if Settings.sentry?.dsn?
|
||||
logger.initializeErrorReporting(Settings.sentry.dsn)
|
||||
|
||||
console.log "dasdsadasdsadsadsadsad"
|
||||
console.log Settings.redis.websessions
|
||||
sessionRedisClient = redis.createClient(Settings.redis.websessions)
|
||||
|
||||
RedisStore = require('connect-redis')(session)
|
||||
|
|
|
@ -2,7 +2,7 @@ module.exports =
|
|||
redis:
|
||||
realtime:
|
||||
host: process.env['REDIS_HOST'] or "localhostssss"
|
||||
port: "6379"
|
||||
port: process.env['REDIS_PORT'] or "6379"
|
||||
password: process.env["REDIS_PASSWORD"] or ""
|
||||
key_schema:
|
||||
clientsInProject: ({project_id}) -> "clients_in_project:#{project_id}"
|
||||
|
@ -10,14 +10,14 @@ module.exports =
|
|||
|
||||
documentupdater:
|
||||
host: process.env['REDIS_HOST'] or "localhostssss"
|
||||
port: "6379"
|
||||
port: process.env['REDIS_PORT'] or "6379"
|
||||
password: process.env["REDIS_PASSWORD"] or ""
|
||||
key_schema:
|
||||
pendingUpdates: ({doc_id}) -> "PendingUpdates:#{doc_id}"
|
||||
|
||||
websessions:
|
||||
host: process.env['REDIS_HOST'] or "localhostssss"
|
||||
port: "6379"
|
||||
port: process.env['REDIS_PORT'] or "6379"
|
||||
password: process.env["REDIS_PASSWORD"] or ""
|
||||
|
||||
internal:
|
||||
|
|
Loading…
Reference in a new issue