doze/registry
V

Valkey

official ● signed
doze/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.

doze.hcl
valkey "cache" {
  version          = 9
  maxmemory        = "256mb"
  maxmemory_policy = "allkeys-lru"
}

Engine versions

Choose one with version =. doze fetches & verifies it, then pins it in doze.lock.

89

Configuration

Arguments and nested blocks the engine accepts.

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.