This repository allows you to quickly install redis into a Ddev project using just ddev get drud/ddev-redis
.
ddev get drud/ddev-redis
ddev restart
This redis recipe for ddev installs a .ddev/docker-compose.redis.yaml
using the redis
docker image.
- The Redis instance will listen on TCP port 6379 (the redis default).
- Configure your application to access redis on the host:port
redis:6379
. - To reach the redis CLI interface, run
ddev redis-cli
to begin a session. You can also run Redis CLI commands directly on the command-line, e.g.,ddev redis-cli INFO
.
Contributed and maintained by @hussainweb based on the original ddev-contrib recipe by @gormus