2014-11-07 12:38:12 -05:00
|
|
|
module.exports =
|
|
|
|
redis:
|
2017-05-02 10:51:17 -04:00
|
|
|
realtime:
|
|
|
|
host: "localhost"
|
|
|
|
port: "6379"
|
|
|
|
password: ""
|
|
|
|
key_schema:
|
|
|
|
clientsInProject: ({project_id}) -> "clients_in_project:#{project_id}"
|
|
|
|
connectedUser: ({project_id, client_id})-> "connected_user:#{project_id}:#{client_id}"
|
|
|
|
|
|
|
|
documentupdater:
|
2014-11-07 12:38:12 -05:00
|
|
|
host: "localhost"
|
|
|
|
port: "6379"
|
|
|
|
password: ""
|
2017-05-02 10:51:17 -04:00
|
|
|
key_schema:
|
|
|
|
pendingUpdates: ({doc_id}) -> "PendingUpdates:#{doc_id}"
|
2017-05-10 10:52:35 -04:00
|
|
|
|
|
|
|
websessions:
|
|
|
|
host: "localhost"
|
|
|
|
port: "6379"
|
|
|
|
password: ""
|
|
|
|
|
2014-11-07 12:38:12 -05:00
|
|
|
internal:
|
|
|
|
realTime:
|
|
|
|
port: 3026
|
|
|
|
host: "localhost"
|
2015-03-03 12:15:19 -05:00
|
|
|
user: "sharelatex"
|
|
|
|
pass: "password"
|
2014-11-07 12:38:12 -05:00
|
|
|
|
2014-11-10 06:27:08 -05:00
|
|
|
apis:
|
|
|
|
web:
|
|
|
|
url: "http://localhost:3000"
|
2014-11-17 09:35:07 -05:00
|
|
|
user: "sharelatex"
|
|
|
|
pass: "password"
|
2014-11-12 10:54:55 -05:00
|
|
|
documentupdater:
|
|
|
|
url: "http://localhost:3003"
|
2014-11-10 06:27:08 -05:00
|
|
|
|
2014-11-07 12:38:12 -05:00
|
|
|
security:
|
|
|
|
sessionSecret: "secret-please-change"
|
|
|
|
|
2015-12-01 06:05:49 -05:00
|
|
|
cookieName:"sharelatex.sid"
|
|
|
|
|
|
|
|
max_doc_length: 2 * 1024 * 1024 # 2mb
|