icon

Valkey

Valkey is a high-performance in-memory database compatible with Redis.

PlatformZeabur
Deployed4
Publisherleechenghsiu
Deployed4 times
Publisherleechenghsiu
Created2025-05-02
Services
service icon
Tags
Database

What is Valkey?

Valkey is a community-driven fork of Redis, offering the same powerful in-memory data structures with open governance. It's designed to be fast, reliable, and fully compatible with Redis clients and protocols.

Environment Variables

  • ${VALKEY_CONNECTION_STRING}: The connection string for the Valkey service.
  • ${VALKEY_HOST}: The hostname of the Valkey service.
  • ${VALKEY_PORT}: The port of the Valkey service.
  • ${VALKEY_PASSWORD}: The password for the Valkey service.

After you deploy the Valkey service, Zeabur will automatically inject the relevant environment variables into other services.

You can also find the connection information in the “Instructions” section on the console.

Connecting to the Database

redis-cli

redis-cli is a command-line tool that allows you to interact with the Valkey database. Using redis-cli, you can execute Redis-compatible commands in the terminal or interactive mode.

After downloading and installing according to the documentation, return to Zeabur. Click on the Instructions tab in the Valkey service, and click the copy button for Command to connect to your Valkey to copy the connection address.

Paste the copied command into the terminal and enter PING to test if the connection is successful:

PONG

At this point, you can start operating Valkey.