NOISSUE - Limit pdf-generator memory (#3547)
Continuous Delivery / lint-and-build (push) Has been cancelled
Continuous Delivery / Build and Push Docker Images (push) Has been cancelled
CI Pipeline / Lint Proto (push) Has been cancelled
CI Pipeline / lint-and-build (push) Has been cancelled
CI Pipeline / Detect Changes (push) Has been cancelled
CI Pipeline / Test ${{ matrix.module }} (push) Has been cancelled
CI Pipeline / Upload Coverage (push) Has been cancelled
Deploy GitHub Pages / swagger-ui (push) Has been cancelled

Signed-off-by: dusan <borovcanindusan1@gmail.com>
This commit is contained in:
Dušan Borovčanin
2026-07-07 18:59:26 +02:00
committed by GitHub
parent 52645e2c39
commit 6ed7ca6a42
+5 -1
View File
@@ -1029,8 +1029,12 @@ services:
- ./templates/${MG_REPORTS_EMAIL_TEMPLATE}:/email.tmpl - ./templates/${MG_REPORTS_EMAIL_TEMPLATE}:/email.tmpl
pdf-generator: pdf-generator:
image: gotenberg/gotenberg:8.25.1 image: gotenberg/gotenberg:8.34.0
container_name: magistrala-pdf container_name: magistrala-pdf
restart: on-failure
# Gotenberg leaks memory over time (upstream issues #987, #1169); the cap
# keeps the OOM kill inside this container instead of stalling the host.
mem_limit: 512m
ports: ports:
- "4000:3000" - "4000:3000"
networks: networks: