All in-repo path references (AGENTS.md, README, old scripts, report artifacts,
test code paths) rewritten in the same commit; focused-test map extended for
.gitignore, old/scripts/*, dankclaw/comfyui/*, and report/* per this repo's
own convention ('add one before committing'). Obsidian wikilinks are
title-based and unaffected.
41 lines
842 B
Markdown
41 lines
842 B
Markdown
# Redis (RomM Cache / Queue)
|
|
|
|
Redis 7 provides the caching and task queue backend for RomM on Dankserver. RomM 5.2.0 requires Redis (or Valkey) for its task queue.
|
|
|
|
**Host:** Dankserver — **Docs:** https://redis.io/docs/
|
|
|
|
## Facts
|
|
|
|
| Item | Value |
|
|
|------|-------|
|
|
| Image | `docker.io/redis:7-alpine` |
|
|
| Port | 6379 (internal, within `appnet`) |
|
|
| Data volume | `/opt/romm/redis` |
|
|
| Auth | None (local-only, no password needed) |
|
|
|
|
## Docker Compose
|
|
|
|
```yaml
|
|
redis:
|
|
image: docker.io/redis:7-alpine
|
|
container_name: romm-redis
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /opt/romm/redis:/data
|
|
healthcheck:
|
|
test: ["CMD", "redis-cli", "ping"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 3
|
|
```
|
|
|
|
## Backup
|
|
|
|
```bash
|
|
sudo rsync -a /opt/romm/redis /mnt/backup/romm-redis/
|
|
```
|
|
|
|
## See Also
|
|
|
|
- [[RomM]] — service that uses this cache
|