1
0
Fork 0
mirror of https://github.com/24eme/signaturepdf synced 2026-03-14 13:55:44 +01:00

Deploy docker file with pdf encryption

This commit is contained in:
Vincent LAURENT 2024-07-30 18:39:53 +02:00
commit 34e5685fbb
2 changed files with 5 additions and 1 deletions

View file

@ -7,10 +7,11 @@ ENV MAX_FILE_UPLOADS=201
ENV PDF_STORAGE_PATH=/data
ENV DISABLE_ORGANIZATION=false
ENV DEFAULT_LANGUAGE=fr_FR.UTF-8
ENV PDF_STORAGE_ENCRYPTION=true
RUN apt update && \
apt install -y vim locales gettext-base librsvg2-bin pdftk imagemagick potrace ghostscript && \
docker-php-ext-install gettext && \
docker-php-ext-install gettext gpg && \
rm -rf /var/lib/apt/lists/*
COPY . /usr/local/signaturepdf

View file

@ -9,3 +9,6 @@ DISABLE_ORGANIZATION=${DISABLE_ORGANIZATION}
; Manage demo link pdf : true (by default, show), false (hide), or custom link
PDF_DEMO_LINK=${PDF_DEMO_LINK}
; Encryption activation (default activation if GPG is installed)
PDF_STORAGE_ENCRYPTION=${PDF_STORAGE_ENCRYPTION}