From 8b3def7162b5b868c54c83b2e0901ff1fb784354 Mon Sep 17 00:00:00 2001 From: trustedcomputer Date: Mon, 16 Feb 2026 06:51:59 -0800 Subject: [PATCH] feat: add chromium pdf generator support --- compose.yaml | 1 + images/custom/Containerfile | 2 ++ images/production/Containerfile | 2 ++ 3 files changed, 5 insertions(+) diff --git a/compose.yaml b/compose.yaml index edf406ca..c1f2eb63 100644 --- a/compose.yaml +++ b/compose.yaml @@ -33,6 +33,7 @@ services: bench set-config -g redis_queue "redis://$$REDIS_QUEUE"; bench set-config -g redis_socketio "redis://$$REDIS_QUEUE"; bench set-config -gp socketio_port $$SOCKETIO_PORT; + bench set-config -g chromium_path /usr/bin/chromium-headless-shell; environment: DB_HOST: ${DB_HOST:-} DB_PORT: ${DB_PORT:-} diff --git a/images/custom/Containerfile b/images/custom/Containerfile index 97b9906e..eefa4e6c 100644 --- a/images/custom/Containerfile +++ b/images/custom/Containerfile @@ -25,6 +25,8 @@ RUN useradd -ms /bin/bash frappe \ libharfbuzz0b \ libpangoft2-1.0-0 \ libpangocairo-1.0-0 \ + #Chromium + chromium-headless-shell \ # For backups restic \ gpg \ diff --git a/images/production/Containerfile b/images/production/Containerfile index abebba86..4a8c7f4c 100644 --- a/images/production/Containerfile +++ b/images/production/Containerfile @@ -22,6 +22,8 @@ RUN useradd -ms /bin/bash frappe \ libharfbuzz0b \ libpangoft2-1.0-0 \ libpangocairo-1.0-0 \ + #Chromium + chromium-headless-shell \ # For backups restic \ gpg \