mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 13:55:08 +00:00
Merge pull request #1815 from trustedcomputer/feat-add-chromium-pdf-generator-support
feat: add chromium pdf generator support
This commit is contained in:
commit
ce4c38f5d7
4 changed files with 7 additions and 0 deletions
|
|
@ -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:-}
|
||||||
|
|
|
||||||
|
|
@ -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 \
|
||||||
|
|
|
||||||
|
|
@ -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 \
|
||||||
|
|
|
||||||
|
|
@ -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 \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue