feat: add chromium pdf generator support

This commit is contained in:
trustedcomputer 2026-02-16 06:51:59 -08:00
parent d56cd8851e
commit 8b3def7162
3 changed files with 5 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

@ -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 \