Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.broker-template
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
RUST_LOG=info

REDIS_HOST=redis
REDIS_IMG=redis:7.2.5-alpine3.19
REDIS_IMG=valkey/valkey:9.0

POSTGRES_HOST=postgres
POSTGRES_IMG=postgres:16.3-bullseye
Expand Down
4 changes: 2 additions & 2 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ x-broker-common: &broker-common
services:
redis:
hostname: ${REDIS_HOST:-redis}
image: ${REDIS_IMG:-redis:7.2.5-alpine3.19}
image: ${REDIS_IMG:-valkey/valkey:9.0}
restart: always
ports:
- 6379:6379
volumes:
- redis-data:/data
command: redis-server --maxmemory-policy allkeys-lru --save 900 1 --appendonly yes
command: valkey-server --maxmemory-policy allkeys-lru --save 900 1 --appendonly yes
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
Expand Down
Loading