mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04:00
Merge pull request #11 from sharelatex/ja-dockerize-dev
Provide hosts as environment settings and add npm run start script
This commit is contained in:
commit
2aac6afca4
3 changed files with 12 additions and 4 deletions
4
services/spelling/Dockerfile
Normal file
4
services/spelling/Dockerfile
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
FROM node:6.9.5
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
|
RUN apt-get install -y aspell aspell-en aspell-am aspell-ar aspell-ar-large aspell-bg aspell-bn aspell-br aspell-ca aspell-cs aspell-cy aspell-da aspell-de aspell-de-alt aspell-el aspell-eo aspell-es aspell-et aspell-eu-es aspell-fa aspell-fo aspell-fr aspell-ga aspell-gl-minimos aspell-gu aspell-he aspell-hi aspell-hr aspell-hsb aspell-hu aspell-hy aspell-is aspell-it aspell-kk aspell-kn aspell-ku aspell-lt aspell-lv aspell-ml aspell-mr aspell-nl aspell-no aspell-or aspell-pa aspell-pl aspell-pt-br aspell-ro aspell-ru aspell-sk aspell-sl aspell-sv aspell-ta aspell-te aspell-tl aspell-uk aspell-uz
|
|
@ -4,15 +4,15 @@ module.exports = Settings =
|
||||||
internal:
|
internal:
|
||||||
spelling:
|
spelling:
|
||||||
port: 3005
|
port: 3005
|
||||||
host: "localhost"
|
host: process.env["LISTEN_ADDRESS"] or "localhost"
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
port:6379
|
port: 6379
|
||||||
host:"127.0.0.1"
|
host: process.env["REDIS_HOST"] or "localhost"
|
||||||
password:""
|
password:""
|
||||||
|
|
||||||
mongo:
|
mongo:
|
||||||
url : 'mongodb://127.0.0.1/sharelatex'
|
url : "mongodb://#{process.env["MONGO_HOST"] or "localhost"}/sharelatex"
|
||||||
|
|
||||||
cacheDir: Path.resolve "cache"
|
cacheDir: Path.resolve "cache"
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,10 @@
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sharelatex/spelling-sharelatex.git"
|
"url": "https://github.com/sharelatex/spelling-sharelatex.git"
|
||||||
},
|
},
|
||||||
|
"scripts": {
|
||||||
|
"compile:app": "coffee -o app/js -c app/coffee && coffee -c app.coffee",
|
||||||
|
"start": "npm run compile:app && node app.js"
|
||||||
|
},
|
||||||
"version": "0.1.4",
|
"version": "0.1.4",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"async": "0.1.22",
|
"async": "0.1.22",
|
||||||
|
|
Loading…
Reference in a new issue