feat(docker): Fix redis-server command syntax for memory configuration

This commit is contained in:
sol 2025-07-17 18:08:14 +08:00
parent 7f7b2d8f5d
commit c9fae7bde3

View file

@ -223,7 +223,7 @@ services:
command:
- /bin/sh
- -c
- redis-server -maxmemory 8gb --maxmemory-policy allkeys-lru --appendonly yes --requirepass $$REDIS_PASSWORD
- redis-server --maxmemory 8gb --maxmemory-policy allkeys-lru --appendonly yes --requirepass $$REDIS_PASSWORD
volumes:
- ./data/redis/data:/data
ports: