Skip to content
This repository was archived by the owner on May 30, 2025. It is now read-only.

Commit 5fa5bff

Browse files
authored
docs: archiving the add-on, fixes #36 (#37)
1 parent 1465d2b commit 5fa5bff

File tree

2 files changed

+13
-27
lines changed

2 files changed

+13
-27
lines changed

README.md

Lines changed: 9 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,20 @@
1-
<div align="center">
1+
[![add-on registry](https://img.shields.io/badge/DDEV-Add--on_Registry-blue)](https://addons.ddev.com)
2+
[![tests](https://github.com/ddev/ddev-redis-7/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/ddev/ddev-redis-7/actions/workflows/tests.yml?query=branch%3Amain)
3+
[![project is obsolete](https://img.shields.io/badge/maintenance-obsolete-red.svg)](https://github.com/ddev/ddev-redis-7/commits)
4+
[![release](https://img.shields.io/github/v/release/ddev/ddev-redis-7)](https://github.com/ddev/ddev-redis-7/releases/latest)
25

3-
# ddev-redis-7 - Redis 7 container for DDEV
6+
# ddev-redis-7 (obsolete and archived)
47

5-
[![GitHub release (with filter)](https://img.shields.io/github/v/release/ddev/ddev-redis-7)](https://github.com/ddev/ddev-redis-7/releases)
6-
[![tests](https://github.com/ddev/ddev-redis-7/actions/workflows/tests.yml/badge.svg)](https://github.com/ddev/ddev-redis-7/actions/workflows/tests.yml)
7-
![project is maintained](https://img.shields.io/maintenance/yes/2024.svg)
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.
89

9-
</div>
10+
This add-on is archived.
11+
12+
## Overview
1013

1114
This repository provides [Redis 7](https://redis.com) container for [DDEV](https://ddev.readthedocs.io/).
1215

1316
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/)
1417

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-
3618
## Installation
3719

3820
For DDEV v1.23.5 or above run

install.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ project_files:
1414
- redis/snapshots.conf
1515
- docker-compose.redis.yaml
1616

17+
ddev_version_constraint: '>= v1.24.3'
18+
1719
post_install_actions:
1820
- |
1921
#ddev-description: Change the redis dump filename
2022
docker run -e DDEV_SITENAME -v "$(pwd)"/redis:/redis -i --rm ddev/ddev-utilities bash -c "sed -i 's/REPLACE_ME/$DDEV_SITENAME/g' /redis/snapshots.conf"
23+
- |
24+
echo "Please migrate to ddev/ddev-redis, this add-on is archived and will not receive any updates"

0 commit comments

Comments
 (0)