From cdafea824ecc0106557209647075569411beadcb Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Mon, 6 Mar 2023 09:25:02 +0100 Subject: [PATCH] refs #3723 Set docker memory limit --- docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 3d82bab1..fb21ab7b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -21,6 +21,9 @@ services: placement: constraints: - node.role == worker + resources: + limits: + memory: 2G cron: image: registry.verdnatura.es/hedera-web:${BRANCH_NAME:?} command: 'cron -f' @@ -35,6 +38,9 @@ services: placement: constraints: - node.role == worker + resources: + limits: + memory: 1G configs: config: external: true -- 2.40.1