added 'OPTIMISE_PDF' environment variable

This commit is contained in:
Miguel Serrano 2020-05-20 07:49:44 +02:00
parent 6d14c182cd
commit 9fd72d4e7b
2 changed files with 5 additions and 0 deletions

View file

@ -93,6 +93,8 @@ ENV WEB_API_USER "sharelatex"
ENV SHARELATEX_APP_NAME "Overleaf Community Edition"
ENV OPTIMISE_PDF "true"
EXPOSE 80

View file

@ -22,6 +22,9 @@ TMP_DIR = '/var/lib/sharelatex/tmp'
settings =
clsi:
optimiseInDocker: process.env['OPTIMISE_PDF'] == 'true'
brandPrefix: ""
allowAnonymousReadAndWriteSharing: