From 3aef093b06e05cbd68e449f0370b937a1a5ae0dc Mon Sep 17 00:00:00 2001 From: ClaireXi99 Date: Sat, 29 Aug 2026 17:05:42 +0800 Subject: [PATCH] docs: switch examples from Redis Stack to Redis 8 Redis 8 ships the query engine and JSON support that this project needs, so the user-facing examples should no longer point at Redis Stack images. Replace the Redis Stack images in the quick-start guide and both compose files with the official redis image, defaulting to 8. Also move `--appendonly yes` from `REDIS_ARGS` into a `command:` override. `REDIS_ARGS` is honored only by the Redis Stack images; the official redis entrypoint ignores it, so swapping the image alone would have silently dropped AOF persistence. Update two stale "Redis Stack" mentions in V0/AGENTS.md that document the `docker-compose up redis` command changed here. --- V0/AGENTS.md | 4 ++-- V0/docker-compose-task-workers.yml | 5 ++--- V0/docker-compose.yml | 5 ++--- V0/docs/quick-start.md | 6 +++--- 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/V0/AGENTS.md b/V0/AGENTS.md index d6d5a3e4..d8a00fc6 100644 --- a/V0/AGENTS.md +++ b/V0/AGENTS.md @@ -62,7 +62,7 @@ uv run agent-memory schedule-task "agent_memory_server.long_term_memory.compact_ ### Running All Containers # Docker development docker-compose up # Start full stack (API, MCP, Redis) -docker-compose up redis # Start only Redis Stack +docker-compose up redis # Start only Redis docker-compose down # Stop all services ``` @@ -243,7 +243,7 @@ ENABLE_NER=true 0. **Install uv**: `pip install uv` to get started with uv 1. **Setup**: `make setup` -2. **Redis**: Start Redis Stack via `docker-compose up redis` +2. **Redis**: Start Redis 8 via `docker-compose up redis` 3. **Development**: Use `DISABLE_AUTH=true` for local testing 4. **Testing**: Run `make verify` before committing 5. **Linting**: `make pre-commit` matches the CI lint gate exactly diff --git a/V0/docker-compose-task-workers.yml b/V0/docker-compose-task-workers.yml index 94227ae5..3f3fd484 100644 --- a/V0/docker-compose-task-workers.yml +++ b/V0/docker-compose-task-workers.yml @@ -186,13 +186,12 @@ services: # SHARED SERVICES # ============================================================================= redis: - image: redis/redis-stack-server:${REDIS_VERSION:-latest} + image: redis:${REDIS_VERSION:-8} ports: - "6379:6379" volumes: - redis_data:/data - environment: - - REDIS_ARGS=--appendonly yes + command: [ "redis-server", "--appendonly", "yes" ] healthcheck: test: [ "CMD", "redis-cli", "ping" ] interval: 30s diff --git a/V0/docker-compose.yml b/V0/docker-compose.yml index 22cb1496..cd377e09 100644 --- a/V0/docker-compose.yml +++ b/V0/docker-compose.yml @@ -181,13 +181,12 @@ services: # ============================================================================= redis: - image: redis/redis-stack-server:${REDIS_VERSION:-latest} + image: redis:${REDIS_VERSION:-8} ports: - "6379:6379" volumes: - redis_data:/data - environment: - - REDIS_ARGS=--appendonly yes + command: [ "redis-server", "--appendonly", "yes" ] healthcheck: test: [ "CMD", "redis-cli", "ping" ] interval: 30s diff --git a/V0/docs/quick-start.md b/V0/docs/quick-start.md index d4490c01..dd32f76f 100644 --- a/V0/docs/quick-start.md +++ b/V0/docs/quick-start.md @@ -40,8 +40,8 @@ uv sync Start Redis using Docker: ```bash -# Start Redis with RediSearch module -docker run -d --name redis-stack -p 6379:6379 redis/redis-stack:latest +# Start Redis 8 (the query engine and JSON support are built in) +docker run -d --name redis -p 6379:6379 redis:8 # Or use the provided docker-compose docker-compose up redis -d @@ -436,7 +436,7 @@ For production deployment with Docker: version: '3.8' services: redis: - image: redis/redis-stack:latest + image: redis:8 ports: - "6379:6379" volumes: