Skip to content

Valkey

Valkey is a Redis-compatible in-memory data store. It runs without authentication by default.

From inside a project container (using the network alias):

Terminal window
redis-cli -h valkey

From the host machine (via the exposed port):

Terminal window
redis-cli -h 127.0.0.1 -p 6379

Note: Valkey is fully Redis-compatible. Use the standard redis-cli client to connect.

Data survives container restarts and dde updates. Each version has its own isolated data directory.

Declare in .dde/config.yml:

services:
- name: valkey

Or with an explicit version:

services:
- name: valkey
version: "8"

See custom-versions.md for details on running non-default versions.