Skip to content

Valkey

Runs Valkey 8 – 9 · macOS & Linux · registry page ↗

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.

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"
}
}

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
88.1.819
99.1.06
Every exact build, per series

88.1.8 · 8.1.7 · 8.1.6 · 8.1.5 · 8.1.4 · 8.1.3 · 8.1.2 · 8.1.1 · 8.1.0 · 8.0.9 · 8.0.8 · 8.0.7 · 8.0.6 · 8.0.5 · 8.0.4 · 8.0.3 · 8.0.2 · 8.0.1 · 8.0.0

99.1.0 · 9.0.4 · 9.0.3 · 9.0.2 · 9.0.1 · 9.0.0

FieldTypeDefaultDescription
versionnumberEngine major to run — 8 or 9. Required.
maxmemorystringMemory ceiling before eviction, e.g. “256mb”.
maxmemory_policystringnoevictionEviction policy (allkeys-lru, volatile-ttl, …).
appendonlyboolfalseEnable the append-only file for durability.
passwordstringrequirepass auth password.
savestringRDB snapshot schedule, e.g. “900 1 300 10” (empty disables).
settingsmap(string)Arbitrary valkey.conf directives, applied verbatim.

Machinery, for the curious: the plugin releases that provide this engine. doze selects the newest compatible one and pins it in doze.lock — you never write these. Older releases stay resolvable for pinned lockfiles.

ReleaseEngine versionsPlatforms
0.2.18 · 93stable

Raw signed data: index.yaml ↗ · meta.yaml ↗