8000 Fix REDIS_PORT in overleaf.rc being ignored by the sharelatex container by Musicminion · Pull Request #450 · overleaf/toolkit · GitHub
[go: up one dir, main page]

Skip to content

Fix REDIS_PORT in overleaf.rc being ignored by the sharelatex container - #450

Open
Musicminion wants to merge 1 commit into
overleaf:masterfrom
ayaka-notes:fix/redis-port-ignored
Open

Musicminion wants to merge 1 commit into
overleaf:masterfrom
ayaka-notes:fix/redis-port-ignored

Conversation

@Musicminion
Copy link
Copy Markdown

Description

With REDIS_ENABLED=false, REDIS_HOST and REDIS_PORT=6380 in config/overleaf.rc, the container still connects to Redis on port 6379.

The Toolkit passes REDIS_PORT to the sharelatex container, but server-ce/config/settings.js only reads OVERLEAF_REDIS_PORT for every Redis connection (port: process.env.OVERLEAF_REDIS_PORT || '6379'). OVERLEAF_REDIS_HOST is already passed from REDIS_HOST in lib/docker-compose.vars.yml, so this adds OVERLEAF_REDIS_PORT next to it.

With the change, bin/docker-compose config shows OVERLEAF_REDIS_PORT: "6380".

Related issues / Pull Requests

#204

Contributor Agreement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0