chore: remove leftover Redis infrastructure code - #4930
Merged
Conversation
Dokploy stopped using Redis in v0.29.9 when the deployment queue moved to an in-memory implementation, and install.sh no longer creates the dokploy-redis service. Remove the remaining references so fresh installs don't report Redis as unhealthy: - checkRedisHealth from infrastructure health check - cleanRedis/reloadRedis endpoints and their UI actions - initializeRedis dev setup and redis-connection config - unused bullmq dependency
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #4928
Redis hasn't been used by the core since v0.29.9, when the deployment queue moved to an in-memory implementation (#4645), and
install.shno longer creates thedokploy-redisservice. However, some leftover code still referenced it, which made fresh installs look broken — the infrastructure health check reported Redis as unhealthy even though nothing depends on it.This removes the remaining references:
checkRedisHealthfromcheckInfrastructureHealth(Settings → Web Server health panel now checks PostgreSQL and Traefik only)settings.cleanRedis/settings.reloadRedisendpoints and their dropdown actionsinitializeRedisfrom the dev setup script andredis-setup.tsredis-connection.tsand the unusedbullmqdependencyTo be clear for anyone landing here from the issue: removing Redis from
install.shwas intentional, not a regression. Dokploy no longer needs thedokploy-redisservice — this PR just cleans up the code that still pretended it did.