Use setting instead of hard-coding port

This commit is contained in:
Alasdair Smith 2018-10-09 11:51:18 +01:00
parent 97566a6dc9
commit a2ff9de0dd

View file

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