doze doze/registry
V

Valkey

official ● signed
doze/valkey
runs Valkey 8 – 9 · macOS & Linux

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.

doze.hcl
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
8 — 8.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
9 — 9.1.0 · 9.0.4 · 9.0.3 · 9.0.2 · 9.0.1 · 9.0.0

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 ↗