2015-08-06 18:46:44 +00:00
|
|
|
Path = require('path')
|
|
|
|
TMP_DIR = Path.resolve(Path.join(__dirname, "../../", "tmp"))
|
|
|
|
|
2014-02-26 16:17:15 +00:00
|
|
|
module.exports =
|
|
|
|
mongo:
|
|
|
|
url: 'mongodb://127.0.0.1/sharelatex'
|
|
|
|
internal:
|
|
|
|
trackchanges:
|
2014-03-03 13:31:10 +00:00
|
|
|
port: 3015
|
2014-02-26 16:17:15 +00:00
|
|
|
host: "localhost"
|
2014-03-04 15:27:03 +00:00
|
|
|
apis:
|
|
|
|
documentupdater:
|
|
|
|
url: "http://localhost:3003"
|
2014-06-06 12:00:28 +00:00
|
|
|
docstore:
|
|
|
|
url: "http://localhost:3016"
|
2014-03-06 18:04:00 +00:00
|
|
|
web:
|
|
|
|
url: "http://localhost:3000"
|
|
|
|
user: "sharelatex"
|
|
|
|
pass: "password"
|
2015-02-26 11:35:14 +00:00
|
|
|
redis:
|
2017-05-15 09:34:24 +00:00
|
|
|
lock:
|
2015-02-26 11:35:14 +00:00
|
|
|
host: "localhost"
|
|
|
|
port: 6379
|
|
|
|
pass: ""
|
2017-05-15 09:34:24 +00:00
|
|
|
key_schema:
|
|
|
|
historyLock: ({doc_id}) -> "HistoryLock:#{doc_id}"
|
|
|
|
historyIndexLock: ({project_id}) -> "HistoryIndexLock:#{project_id}"
|
2017-04-24 13:23:32 +00:00
|
|
|
history:
|
|
|
|
port:"6379"
|
|
|
|
host:"localhost"
|
|
|
|
password:""
|
|
|
|
key_schema:
|
|
|
|
uncompressedHistoryOps: ({doc_id}) -> "UncompressedHistoryOps:#{doc_id}"
|
|
|
|
docsWithHistoryOps: ({project_id}) -> "DocsWithHistoryOps:#{project_id}"
|
2015-08-06 13:00:09 +00:00
|
|
|
|
2016-03-09 13:28:22 +00:00
|
|
|
trackchanges:
|
2015-08-06 20:09:36 +00:00
|
|
|
s3:
|
|
|
|
key: ""
|
|
|
|
secret: ""
|
2016-03-09 13:28:22 +00:00
|
|
|
stores:
|
|
|
|
doc_history: ""
|
|
|
|
|
2015-08-06 18:46:44 +00:00
|
|
|
|
|
|
|
path:
|
2015-08-06 20:09:36 +00:00
|
|
|
dumpFolder: Path.join(TMP_DIR, "dumpFolder")
|