From 2f90e17b417c08609d5adcca188353727efc6e5d Mon Sep 17 00:00:00 2001
From: Martin Weise <martin.weise@tuwien.ac.at>
Date: Thu, 29 May 2025 21:38:32 +0200
Subject: [PATCH] Updated search db resources

Signed-off-by: Martin Weise <martin.weise@tuwien.ac.at>
---
 .docker/docker-compose.yml | 8 ++++++++
 docker-compose.yml         | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/.docker/docker-compose.yml b/.docker/docker-compose.yml
index f6f63db234..5803cda972 100644
--- a/.docker/docker-compose.yml
+++ b/.docker/docker-compose.yml
@@ -316,6 +316,14 @@ services:
       - search-db-data:/bitnami/opensearch/data
     ports:
       - "9200:9200"
+    deploy:
+      resources:
+        reservations:
+          cpus: '0.25'
+          memory: 512M
+        limits:
+          cpus: '0.50'
+          memory: 2048M
     healthcheck:
       test: curl -sSL 127.0.0.1:9200
       <<: *healthcheck-params
diff --git a/docker-compose.yml b/docker-compose.yml
index 553b597ef8..564b666b35 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -326,6 +326,14 @@ services:
       - search-db-data:/bitnami/opensearch/data
     ports:
       - "9200:9200"
+    deploy:
+      resources:
+        reservations:
+          cpus: '0.25'
+          memory: 512M
+        limits:
+          cpus: '0.50'
+          memory: 2048M
     healthcheck:
       test: curl -sSL 127.0.0.1:9200
       <<: *healthcheck-params
-- 
GitLab