From 4bb6684426c271f92c030639661de2ffdc02080b Mon Sep 17 00:00:00 2001 From: Lou Knauer Date: Thu, 19 Aug 2021 11:57:55 +0200 Subject: [PATCH] Disable redis persistence and set max-memory --- docker-compose.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index d8f39b5..b78e198 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,6 +16,11 @@ services: redis: container_name: cc-redis image: redis + command: [ + "redis-server", + "--save", "", + "--maxmemory", "1gb", + "--maxmemory-policy", "allkeys-lru"] php: container_name: cc-php