mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-23 13:41:48 +00:00
set synctexBaseDir: () -> "/compile" if using docker in docker
This commit is contained in:
parent
2247ee50b9
commit
4222a822d7
2 changed files with 6 additions and 0 deletions
|
@ -106,5 +106,7 @@ ENV SHARELATEX_CONFIG /etc/sharelatex/settings.coffee
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
|
WORKDIR /
|
||||||
|
|
||||||
ENTRYPOINT ["/sbin/my_init"]
|
ENTRYPOINT ["/sbin/my_init"]
|
||||||
|
|
||||||
|
|
|
@ -499,6 +499,10 @@ if process.env["DOCKER_IN_DOCKER"] == "true"
|
||||||
PATH: process.env["COMPILER_PATH"] or "/usr/local/texlive/2015/bin/x86_64-linux:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
PATH: process.env["COMPILER_PATH"] or "/usr/local/texlive/2015/bin/x86_64-linux:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||||
user: "www-data"
|
user: "www-data"
|
||||||
|
|
||||||
|
if !settings.path?
|
||||||
|
settings.path = {}
|
||||||
|
settings.path.synctexBaseDir = () -> "/compile"
|
||||||
|
|
||||||
|
|
||||||
# Templates
|
# Templates
|
||||||
# ---------
|
# ---------
|
||||||
|
|
Loading…
Reference in a new issue