Merge pull request #27 from sharelatex/ja-dockerize-dev

Provide hosts as environment settings and add npm run start script
This commit is contained in:
James Allen 2018-01-16 17:08:36 +00:00 committed by GitHub
commit 980e1a5d6a
2 changed files with 5 additions and 1 deletions

View file

@ -4,7 +4,7 @@ module.exports =
internal:
filestore:
port: 3009
host: "localhost"
host: process.env['LISTEN_ADDRESS'] or "localhost"
filestore:
# Which backend persistor to use.

View file

@ -6,6 +6,10 @@
"type": "git",
"url": "https://github.com/sharelatex/filestore-sharelatex.git"
},
"scripts": {
"compile:app": "coffee -o app/js -c app/coffee && coffee -c app.coffee",
"start": "npm run compile:app && node app.js"
},
"dependencies": {
"async": "~0.2.10",
"aws-sdk": "^2.1.39",