Disable redis persistence and set max-memory

This commit is contained in:
Lou Knauer 2021-08-19 11:57:55 +02:00
parent 67cba6d731
commit 4bb6684426

View File

@ -16,6 +16,11 @@ services:
redis: redis:
container_name: cc-redis container_name: cc-redis
image: redis image: redis
command: [
"redis-server",
"--save", "",
"--maxmemory", "1gb",
"--maxmemory-policy", "allkeys-lru"]
php: php:
container_name: cc-php container_name: cc-php