This add-on is part of ddev/ddev-redis since v2.0.0. See the README.md
in ddev/ddev-redis
for optimized configuration and migration instructions.
This add-on is archived.
This repository provides Redis 7 container for DDEV.
It is based on redis:7.2-alpine docker image and DDEV custom compose files
For DDEV v1.23.5 or above run
ddev add-on get ddev/ddev-redis-7
For earlier versions of DDEV run
ddev get ddev/ddev-redis-7
Then restart your project
ddev restart
Important
Authentication is setup by default, and the password is redis
.
If needed, you can auth with a username and password.
Username is redis
as well.
Redis configuration files are split in the .ddev/redis/conf
folder, you can modify them as you wish.
Otherwise, plugin just works out of the box.
Addon exposes the following commands
Command | Usage | Description |
---|---|---|
redis |
ddev redis |
Launches the redis-cli |
redis *COMMAND* |
ddev redis |
Run an arbitrary redis-cli command |
redis-flush |
ddev redis-flush |
Clears all the Redis Databases |
Based on the original ddev-contrib recipe Developed and maintained by Oblak Studio