Fixed WEB_HOST lookup in settings

This commit is contained in:
mserranom 2019-07-29 10:28:27 +00:00
parent e84ee6ebeb
commit d29ea9f527

View file

@ -15,7 +15,7 @@ module.exports =
docstore: docstore:
url: "http://#{process.env["DOCSTORE_HOST"] or "localhost"}:3016" url: "http://#{process.env["DOCSTORE_HOST"] or "localhost"}:3016"
web: web:
url: "http://#{process.env["WEB_API_HOST"] or "localhost"}:#{process.env['WEB_API_PORT'] or 3000}" url: "http://#{process.env['WEB_API_HOST'] or process.env['WEB_HOST'] or "localhost"}:#{process.env['WEB_API_PORT'] or process.env['WEB_PORT'] or 3000}"
user: "sharelatex" user: "sharelatex"
pass: "password" pass: "password"
redis: redis: