From 57db342c61a5c60fb9657f098fd49fcd6c90cdd6 Mon Sep 17 00:00:00 2001 From: itqop Date: Wed, 23 Oct 2024 00:10:51 +0300 Subject: [PATCH] add vm.overcommit_memory --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 306951f..0cf959d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -33,4 +33,6 @@ services: container_name: redis ports: - "6379:6379" + sysctls: + vm.overcommit_memory: 1 restart: unless-stopped