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