From 62b7e697b8b1c5557257e67c33ff8d44eeee10df Mon Sep 17 00:00:00 2001 From: Diango Gavidia Date: Sat, 6 Jun 2026 20:04:45 -0400 Subject: [PATCH] build(compose): add Valkey service to the dev docker-compose (#257) The server's single-use ticket store reads via GETDEL on a Redis-compatible instance; until now only the prod compose had one. Mirrors prod (valkey 9.0, appendonly, ping healthcheck); port 6379 exposed so a locally-run server can connect through REDIS_URI=redis://localhost:6379. --- docker-compose.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index c2885a99..be781779 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -19,5 +19,21 @@ services: timeout: 5s retries: 5 + valkey: + image: valkey/valkey:9.0-alpine + container_name: evolution-valkey + ports: + - "6379:6379" + volumes: + - valkey_data:/data + restart: unless-stopped + healthcheck: + test: [ "CMD", "valkey-cli", "ping" ] + interval: 10s + timeout: 5s + retries: 5 + command: valkey-server --appendonly yes + volumes: postgres_data: + valkey_data: