mirror of
https://github.com/absmach/magistrala.git
synced 2026-08-07 07:14:46 +00:00
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
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:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user