From 03c05d7adfe3d8bf5c323b005a848c0e9b28fb04 Mon Sep 17 00:00:00 2001 From: sanspie Date: Thu, 16 Jan 2025 21:43:05 +0300 Subject: [PATCH] updated redis --- local.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/local.yml b/local.yml index 7a26611..eb5c171 100644 --- a/local.yml +++ b/local.yml @@ -69,6 +69,11 @@ services: redis: image: redis:6 container_name: akarpov_local_redis + command: redis-server --maxmemory 4gb --maxmemory-policy allkeys-lru + deploy: + resources: + limits: + memory: 4G celeryworker: <<: *django