From f0ad1a745bfd991c21bc4618a0ca96b9344aedc7 Mon Sep 17 00:00:00 2001 From: Allen Lee Date: Tue, 31 Oct 2023 22:42:11 -0700 Subject: [PATCH] fix(build): add deploy / cap_add limits back --- base.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/base.yml b/base.yml index 06bb116ad..c3b71bb21 100644 --- a/base.yml +++ b/base.yml @@ -18,6 +18,12 @@ services: - node.name=es01 - bootstrap.memory_lock=true - "ES_JAVA_OPTS=-Xms512m -Xmx512m" + deploy: + resources: + limits: + memory: 1g + cap_add: + - IPC_LOCK ulimits: memlock: soft: -1