|
1 | | -<div align="center"> |
| 1 | +[](https://addons.ddev.com) |
| 2 | +[](https://github.com/ddev/ddev-redis-7/actions/workflows/tests.yml?query=branch%3Amain) |
| 3 | +[](https://github.com/ddev/ddev-redis-7/commits) |
| 4 | +[](https://github.com/ddev/ddev-redis-7/releases/latest) |
2 | 5 |
|
3 | | -# ddev-redis-7 - Redis 7 container for DDEV |
| 6 | +# ddev-redis-7 (obsolete and archived) |
4 | 7 |
|
5 | | -[](https://github.com/ddev/ddev-redis-7/releases) |
6 | | -[](https://github.com/ddev/ddev-redis-7/actions/workflows/tests.yml) |
7 | | - |
| 8 | +This add-on is part of [ddev/ddev-redis](https://github.com/ddev/ddev-redis) since [v2.0.0](https://github.com/ddev/ddev-redis/releases/tag/v2.0.0). See the `README.md` in `ddev/ddev-redis` for optimized configuration and migration instructions. |
8 | 9 |
|
9 | | -</div> |
| 10 | +This add-on is archived. |
| 11 | + |
| 12 | +## Overview |
10 | 13 |
|
11 | 14 | This repository provides [Redis 7](https://redis.com) container for [DDEV](https://ddev.readthedocs.io/). |
12 | 15 |
|
13 | 16 | It is based on [redis:7.2-alpine](https://hub.docker.com/_/redis/tags?page=1&name=7) docker image and [DDEV custom compose files](https://ddev.readthedocs.io/en/stable/users/extend/custom-compose-files/) |
14 | 17 |
|
15 | | -## Comparison to **v6** ([`ddev/ddev-redis`](https://github.com/ddev/ddev-redis)) |
16 | | - |
17 | | -There are a lot of differences between v6 addon and this one |
18 | | - |
19 | | -| Feature | ddev/ddev-redis | ddev/ddev-redis-7 | |
20 | | -| ----------------- | ---------------- | ----------------- | |
21 | | -| Maximum Memory | Unlimited | 512Mb | |
22 | | -| Persistence | Optional | **Yes** | |
23 | | -| Redis Version | 6.x.y | 7.2.x | |
24 | | -| Image Size | ~40Mb | ~11Mb | |
25 | | -| Anonymous Volumes | No | No | |
26 | | -| Optimized config | No | **Yes** | |
27 | | - |
28 | | -### Anonymous volumes - Wait, what? |
29 | | - |
30 | | -Official redis docker container mounts an anonymous volume on `/data` because... reasons. That volume is recreated on every restart. This one mounts the persistence directory on `/data` and names it according to the project name, and gives it a proper label. This way, each DDEV project has it's own data volume, and data can persist accordingly |
31 | | - |
32 | | -### Persistence? |
33 | | - |
34 | | -Yes, persistence. This container is configured to persist data on `/data` volume. This means that if you stop the container, and start it again, the data will be there. This is useful for long-term caching of data, and for keeping the cache primed between ddev restarts. |
35 | | - |
36 | 18 | ## Installation |
37 | 19 |
|
38 | 20 | For DDEV v1.23.5 or above run |
|
0 commit comments