Skip to content

chore: remove leftover Redis infrastructure code - #4930

Merged
Siumauricio merged 1 commit into
canaryfrom
chore/remove-redis-leftovers
Jul 28, 2026
Merged

chore: remove leftover Redis infrastructure code#4930
Siumauricio merged 1 commit into
canaryfrom
chore/remove-redis-leftovers

Conversation

@Siumauricio

Copy link
Copy Markdown
Contributor

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.sh no longer creates the dokploy-redis service. 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:

  • checkRedisHealth from checkInfrastructureHealth (Settings → Web Server health panel now checks PostgreSQL and Traefik only)
  • settings.cleanRedis / settings.reloadRedis endpoints and their dropdown actions
  • initializeRedis from the dev setup script and redis-setup.ts
  • redis-connection.ts and the unused bullmq dependency

To be clear for anyone landing here from the issue: removing Redis from install.sh was intentional, not a regression. Dokploy no longer needs the dokploy-redis service — this PR just cleans up the code that still pretended it did.

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
@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jul 28, 2026
@Siumauricio
Siumauricio merged commit b7e5fad into canary Jul 28, 2026
4 checks passed
@Siumauricio
Siumauricio deleted the chore/remove-redis-leftovers branch July 28, 2026 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: install.sh no longer creates the dokploy-redis service after v0.29.10

1 participant