mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04:00
Merge pull request #10 from sharelatex/ja-dockerize-dev
Provide hosts as settings and add npm run start script
This commit is contained in:
commit
35a861bfec
2 changed files with 8 additions and 4 deletions
|
@ -1,20 +1,20 @@
|
||||||
module.exports =
|
module.exports =
|
||||||
internal:
|
internal:
|
||||||
chat:
|
chat:
|
||||||
host: "localhost"
|
host: process.env['LISTEN_ADDRESS'] or "localhost"
|
||||||
port: 3010
|
port: 3010
|
||||||
|
|
||||||
apis:
|
apis:
|
||||||
web:
|
web:
|
||||||
url: "http://localhost:3000"
|
url: "http://#{process.env['WEB_HOST'] || "localhost"}:3000"
|
||||||
user: "sharelatex"
|
user: "sharelatex"
|
||||||
pass: "password"
|
pass: "password"
|
||||||
|
|
||||||
mongo:
|
mongo:
|
||||||
url : 'mongodb://127.0.0.1/sharelatex'
|
url : "mongodb://#{process.env['MONGO_HOST'] || "localhost"}/sharelatex"
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
web:
|
web:
|
||||||
host: "localhost"
|
host: process.env['REDIS_HOST'] || "localhost"
|
||||||
port: "6379"
|
port: "6379"
|
||||||
password: ""
|
password: ""
|
|
@ -6,6 +6,10 @@
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sharelatex/chat-sharelatex.git"
|
"url": "https://github.com/sharelatex/chat-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": {
|
"dependencies": {
|
||||||
"async": "0.2.9",
|
"async": "0.2.9",
|
||||||
"coffee-script": "~1.7.1",
|
"coffee-script": "~1.7.1",
|
||||||
|
|
Loading…
Reference in a new issue