overleaf/services/track-changes/config/settings.defaults.coffee
2017-04-24 14:23:32 +01:00

42 lines
822 B
CoffeeScript
Executable file

Path = require('path')
TMP_DIR = Path.resolve(Path.join(__dirname, "../../", "tmp"))
module.exports =
mongo:
url: 'mongodb://127.0.0.1/sharelatex'
internal:
trackchanges:
port: 3015
host: "localhost"
apis:
documentupdater:
url: "http://localhost:3003"
docstore:
url: "http://localhost:3016"
web:
url: "http://localhost:3000"
user: "sharelatex"
pass: "password"
redis:
web:
host: "localhost"
port: 6379
pass: ""
history:
port:"6379"
host:"localhost"
password:""
key_schema:
uncompressedHistoryOps: ({doc_id}) -> "UncompressedHistoryOps:#{doc_id}"
docsWithHistoryOps: ({project_id}) -> "DocsWithHistoryOps:#{project_id}"
trackchanges:
s3:
key: ""
secret: ""
stores:
doc_history: ""
path:
dumpFolder: Path.join(TMP_DIR, "dumpFolder")