Running Redis in Docker with prorm

Read this page in the documentation

Running Redis in Docker with prorm prorm reaches Redis through RedisStore, a key-value implementation of the NoSqlStore interface. It is not a SQL dialect — no models, no DDL — it wraps the client's own commands. Start the container With persistence and a password: Waiting for readiness Redis starts in well under a second, but poll anyway so CI is not racy. Dependencies Connect and use the store Reach for getClient() when you need a command the store does not wrap — pipelines, pub/sub, Lua scripts, streams. Redis as a prorm cache backend Redis is also usable as the cache layer for SQL models, which is a different role from the store above: See Caching for invalidation semantics and TTL handling. Tear down Troubleshooting Symptom | Cause | --- | --- | NOAUTH Authentication required | The server was started with --requirepass; pass password. | Data lost on restart | Default config is memory-only. Use --appendonly yes with a volume. | ECONNREFUSED | Port not published, or the container exited — check docker logs orm-redis. | OOM command not allowed | maxmemory reached and the eviction policy is noeviction. | Related reading NoSQL stores overview — the full store index redis — the store's own API notes, in the repository Caching