add DOCUMENT_UPDATER_HOST as option

This commit is contained in:
Henry Oswald 2018-10-19 19:42:33 +01:00
parent 477c446ea8
commit bbc11ae1b5

View file

@ -33,7 +33,7 @@ module.exports =
user: "sharelatex"
pass: "password"
documentupdater:
url: "http://#{process.env['DOCUPDATER_HOST'] or "localhost"}:3003"
url: "http://#{process.env['DOCUMENT_UPDATER_HOST'] or process.env['DOCUPDATER_HOST'] or "localhost"}:3003"
security:
sessionSecret: "secret-please-change"