The `memory` service never set REDIS_URL and never wired itself to the Redis container. Runtime config (src/hanzo_memory/config.py) defaults redis_url=None — caching via Redis is optional and unconfigured. The `redis:` block was a dead, profile-gated (with-cache) declaration with no consumer. Per "no redis, no kv" policy: remove the orphaned block and its volume. No consumer migration needed (nothing consumed it).
21 lines
549 B
YAML
21 lines
549 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
memory:
|
|
build: .
|
|
ports:
|
|
- "4000:4000"
|
|
environment:
|
|
- HANZO_DISABLE_AUTH=true
|
|
- HANZO_LLM_MODEL=${HANZO_LLM_MODEL:-gpt-3.5-turbo}
|
|
- OPENAI_API_KEY=${OPENAI_API_KEY}
|
|
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
|
|
- HANZO_LLM_API_BASE=${HANZO_LLM_API_BASE}
|
|
- HANZO_LOG_LEVEL=${HANZO_LOG_LEVEL:-INFO}
|
|
volumes:
|
|
- ./data:/app/data
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:4000/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3 |