From db5cc0d50dc27e4132539aa6bc7fae6c14646ef1 Mon Sep 17 00:00:00 2001 From: techducks Date: Tue, 8 Aug 2023 17:14:07 +0000 Subject: [PATCH] added the missing attributes from the original docker command added --pids-limit 50 and -memory 256M from docker command --- docker-compose.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 6b249c3..55d7da6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,6 +20,11 @@ services: - SETGID - CHOWN - KILL + deploy: + resources: + limits: + memory: 256M + pids: 50 healthcheck: test: curl -f http://127.0.0.1:5232 || exit 1 interval: 30s