Skip to content

Commit

Permalink
Deploy docker file with pdf encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
wincelau committed Jul 30, 2024
1 parent 737e70f commit 34e5685
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions config/config.ini.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit 34e5685

Please sign in to comment.