Merge pull request #1815 from trustedcomputer/feat-add-chromium-pdf-generator-support

feat: add chromium pdf generator support
This commit is contained in:
Daniel Radl 2026-02-19 18:22:33 +01:00 committed by GitHub
commit ce4c38f5d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 0 deletions

View file

@ -33,6 +33,7 @@ services:
bench set-config -g redis_queue "redis://$$REDIS_QUEUE"; bench set-config -g redis_queue "redis://$$REDIS_QUEUE";
bench set-config -g redis_socketio "redis://$$REDIS_QUEUE"; bench set-config -g redis_socketio "redis://$$REDIS_QUEUE";
bench set-config -gp socketio_port $$SOCKETIO_PORT; bench set-config -gp socketio_port $$SOCKETIO_PORT;
bench set-config -g chromium_path /usr/bin/chromium-headless-shell;
environment: environment:
DB_HOST: ${DB_HOST:-} DB_HOST: ${DB_HOST:-}
DB_PORT: ${DB_PORT:-} DB_PORT: ${DB_PORT:-}

View file

@ -23,6 +23,8 @@ RUN apt-get update \
libharfbuzz0b \ libharfbuzz0b \
libpangoft2-1.0-0 \ libpangoft2-1.0-0 \
libpangocairo-1.0-0 \ libpangocairo-1.0-0 \
#Chromium
chromium-headless-shell \
# to work inside the container # to work inside the container
locales \ locales \
build-essential \ build-essential \

View file

@ -25,6 +25,8 @@ RUN useradd -ms /bin/bash frappe \
libharfbuzz0b \ libharfbuzz0b \
libpangoft2-1.0-0 \ libpangoft2-1.0-0 \
libpangocairo-1.0-0 \ libpangocairo-1.0-0 \
#Chromium
chromium-headless-shell \
# For backups # For backups
restic \ restic \
gpg \ gpg \

View file

@ -22,6 +22,8 @@ RUN useradd -ms /bin/bash frappe \
libharfbuzz0b \ libharfbuzz0b \
libpangoft2-1.0-0 \ libpangoft2-1.0-0 \
libpangocairo-1.0-0 \ libpangocairo-1.0-0 \
#Chromium
chromium-headless-shell \
# For backups # For backups
restic \ restic \
gpg \ gpg \