Skip to content

Commit 93a81e4

Browse files
authored
BM-2026: switch redis to latest valkey (#1383)
Testing different cases, but the storage layout seems to be compatible and non-breaking, so keeping the same volume to avoid issues when upgrading during an in-progress proof, unless we notice this being breaking for anyone.
1 parent a67344c commit 93a81e4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.env.broker-template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
RUST_LOG=info
44

55
REDIS_HOST=redis
6-
REDIS_IMG=redis:7.2.5-alpine3.19
6+
REDIS_IMG=valkey/valkey:9.0
77

88
POSTGRES_HOST=postgres
99
POSTGRES_IMG=postgres:16.3-bullseye

compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@ x-broker-common: &broker-common
8484
services:
8585
redis:
8686
hostname: ${REDIS_HOST:-redis}
87-
image: ${REDIS_IMG:-redis:7.2.5-alpine3.19}
87+
image: ${REDIS_IMG:-valkey/valkey:9.0}
8888
restart: always
8989
ports:
9090
- 6379:6379
9191
volumes:
9292
- redis-data:/data
93-
command: redis-server --maxmemory-policy allkeys-lru --save 900 1 --appendonly yes
93+
command: valkey-server --maxmemory-policy allkeys-lru --save 900 1 --appendonly yes
9494
healthcheck:
9595
test: ["CMD", "redis-cli", "ping"]
9696
interval: 5s

0 commit comments

Comments
 (0)