matrix: add Synapse + Postgres compose with resource limits

This commit is contained in:
aykhans committed 2026-07-30 17:07:49 +00:00
1 parent d24df73aad
commit dc27676d0f
1 file changed
+10
+10
View File
@@ -27,6 +27,11 @@ services:
depends_on: depends_on:
db: db:
condition: service_healthy condition: service_healthy
deploy:
resources:
limits:
cpus: "1.0"
memory: 1G
logging: logging:
driver: "json-file" driver: "json-file"
options: options:
@@ -51,6 +56,11 @@ services:
interval: 10s interval: 10s
timeout: 5s timeout: 5s
retries: 5 retries: 5
deploy:
resources:
limits:
cpus: "0.5"
memory: 400M
logging: logging:
driver: "json-file" driver: "json-file"
options: options: