mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #740 from overleaf/msm-expose-env-var-pdf-optimisation
added 'OPTIMISE_PDF' environment variable
This commit is contained in:
commit
e2f6f670ef
2 changed files with 5 additions and 0 deletions
|
@ -93,6 +93,8 @@ ENV WEB_API_USER "sharelatex"
|
||||||
|
|
||||||
ENV SHARELATEX_APP_NAME "Overleaf Community Edition"
|
ENV SHARELATEX_APP_NAME "Overleaf Community Edition"
|
||||||
|
|
||||||
|
ENV OPTIMISE_PDF "true"
|
||||||
|
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,9 @@ TMP_DIR = '/var/lib/sharelatex/tmp'
|
||||||
|
|
||||||
settings =
|
settings =
|
||||||
|
|
||||||
|
clsi:
|
||||||
|
optimiseInDocker: process.env['OPTIMISE_PDF'] == 'true'
|
||||||
|
|
||||||
brandPrefix: ""
|
brandPrefix: ""
|
||||||
|
|
||||||
allowAnonymousReadAndWriteSharing:
|
allowAnonymousReadAndWriteSharing:
|
||||||
|
|
Loading…
Reference in a new issue