From 37f670bc1084e5f837531d317d576cb09b02c9d5 Mon Sep 17 00:00:00 2001 From: Sam Calder-Mason Date: Thu, 16 Jan 2025 16:29:25 +1000 Subject: [PATCH] feat: Add resource limits for the service deployment --- docker-compose.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 067abf4..4a93c51 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,4 +8,9 @@ services: - "host.docker.internal:host-gateway" volumes: - ${CONTRIBUTOOR_CONFIG_PATH}/config.yaml:/config/config.yaml:ro - restart: always \ No newline at end of file + restart: always + deploy: + resources: + limits: + cpus: '0.5' + memory: 1024M