config(redis): update Redis configuration in docker compose

This commit is contained in:
sol 2026-03-18 10:14:00 +08:00
parent c9ee2c3e9c
commit 835f68d88c

View file

@ -117,9 +117,13 @@ services:
command:
- /bin/sh
- -c
- redis-server --maxmemory 128mb --maxmemory-policy allkeys-lru --appendonly yes --requirepass $$REDIS_PASSWORD
volumes:
- redis-data:/data
- >
redis-server
--maxmemory 128mb
--maxmemory-policy allkeys-lru
--appendonly no
--save ""
--requirepass $$REDIS_PASSWORD
ports:
- "6379:6379"
networks: