Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.03 KB

File metadata and controls

27 lines (16 loc) · 1.03 KB

Valkey

We use the official Valkey Docker image. It aims to be fully compatible with Redis.

In March 2024, Redis announced that they will be changing their BSD license to ones that are not open-source. As a result, we have swapped to using the open source fork of Redis, called Valkey.

Installation

Valkey is an optional service and is not installed or enabled by default. To enable it, add the valkey.yml file to your COMPOSE_FILE list in the .env file. For example, on Unix systems:

COMPOSE_FILE=docker-compose.yml:opt/valkey.yml

After updating the .env file, run docker compose up -d --remove-orphans to start the service.

Connecting

Parameter Value
Host valkey (from a container)
localhost (from your computer)
Port 6379
Password ``

For backwards compatibility we've added a redis alias. You can either hostname in your application.