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.
This commit is contained in:
Diango Gavidia 2026-06-06 20:04:45 -04:00 committed by GitHub
parent 9f3e0385a0
commit 62b7e697b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: