DockHosting Docs
Databases

Redis

Managed Redis on DockHosting — connection strings, common uses, and drivers.

Version

Redis 7 is available when you create a database.

Connection string

Injected automatically when you attach the database to a project:

redis://:<password>@<host>:6379

Works directly with ioredis and redis (Node), redis-py (Python), go-redis (Go), and Laravel's Redis integration.

Common uses

  • Caching — response caching, computed-value caching
  • Sessions — session storage for a web app, especially across multiple app instances
  • Queues — as the backing store for Sidekiq, Laravel Queues, Bull/BullMQ, or a hand-rolled queue
  • Rate limiting — atomic increment/expire operations make Redis a natural fit

Connecting locally

Off by default — see Connect from your computer. Once public access is on:

redis-cli -h <host> -p <port> -a <password> --no-auth-warning

Persistence

Data is persisted to disk, not purely in-memory — a restart doesn't lose your data. Backups apply the same as any other engine.

On this page