Allow texlive image user to be configured

This commit is contained in:
James Allen 2018-01-16 10:46:59 +00:00
parent 08a0c6feb4
commit d0e5fb2d34

View file

@ -38,7 +38,7 @@ if process.env["COMMAND_RUNNER"]
env:
HOME: "/tmp"
socketPath: "/var/run/docker.sock"
user: "tex"
user: process.env["TEXLIVE_IMAGE_USER"] or "tex"
expireProjectAfterIdleMs: 24 * 60 * 60 * 1000
checkProjectsIntervalMs: 10 * 60 * 1000
module.exports.path.sandboxedCompilesHostDir = process.env["COMPILES_HOST_DIR"]