Valkey
official ● signeddoze/valkey A local Valkey server — the open-source Redis fork. Speaks the Redis protocol, so any redis client works. Set a memory ceiling and an eviction policy and use it as a cache; doze boots it on first connect and reaps it when idle.
Usage
Drop it in doze.hcl and run doze up.
valkey "cache" {
version = 9
port = 6379
maxmemory = "256mb"
maxmemory_policy = "allkeys-lru"
appendonly = true
password = "cache"
save = "900 1 300 10"
settings = {
tcp-keepalive = "60"
}
} Versions you can run
The version = you write is the engine's own version — the only version that's yours. Declare a series and doze pins its newest published build, or declare an exact build; either way it's fetched, verified, and pinned in doze.lock, so it never moves on its own.
| version = | pins (today) | exact builds |
|---|---|---|
| 8 | 8.1.8 | 19 |
| 9 | 9.1.0 | 6 |
every exact build, per series
Configuration
Arguments and nested blocks the engine accepts — generated from the module itself, so it can't drift.
| Name | Type | Default | Description |
|---|---|---|---|
| version REQ | number | — | Engine major to run — 8 or 9. |
| maxmemory | string | — | Memory ceiling before eviction, e.g. "256mb". |
| maxmemory_policy | string | noeviction | Eviction policy (allkeys-lru, volatile-ttl, …). |
| appendonly | bool | false | Enable the append-only file for durability. |
| password | string | — | requirepass auth password. |
| save | string | — | RDB snapshot schedule, e.g. "900 1 300 10" (empty disables). |
| settings | map(string) | — | Arbitrary valkey.conf directives, applied verbatim. |
Under the hood — module releases you never write these; doze picks and pins automatically
The plugin releases that provide this engine. doze selects the newest one compatible with your doze and your declared versions, pins it in doze.lock, and the index is cumulative — older releases stay resolvable for pinned lockfiles. modules { valkey { version = "…" } } pins one exactly (the escape hatch for bisecting a regression).
| release | protocol | engine support | platforms |
|---|---|---|---|
| 0.2.1 stable | 1 | 8 · 9 | 3 platforms |
raw signed data: index.yaml ↗ · meta.yaml ↗