From dc27676d0f386cf9e090513f10a24d960e1e2225 Mon Sep 17 00:00:00 2001 From: Aykhan Shahsuvarov Date: Thu, 30 Jul 2026 17:07:49 +0000 Subject: [PATCH] matrix: add Synapse + Postgres compose with resource limits --- matrix/docker-compose.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/matrix/docker-compose.yaml b/matrix/docker-compose.yaml index b9cfefc..a7c6756 100644 --- a/matrix/docker-compose.yaml +++ b/matrix/docker-compose.yaml @@ -27,6 +27,11 @@ services: depends_on: db: condition: service_healthy + deploy: + resources: + limits: + cpus: "1.0" + memory: 1G logging: driver: "json-file" options: @@ -51,6 +56,11 @@ services: interval: 10s timeout: 5s retries: 5 + deploy: + resources: + limits: + cpus: "0.5" + memory: 400M logging: driver: "json-file" options: