mirror of
https://github.com/diangogav/EDOpro-server-ts
synced 2026-08-24 00:23:05 -04:00
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:
parent
9f3e0385a0
commit
62b7e697b8
1 changed files with 16 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue