settings.defaults.coffee 822 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. Path = require('path')
  2. TMP_DIR = Path.resolve(Path.join(__dirname, "../../", "tmp"))
  3. module.exports =
  4. mongo:
  5. url: 'mongodb://127.0.0.1/sharelatex'
  6. internal:
  7. trackchanges:
  8. port: 3015
  9. host: "localhost"
  10. apis:
  11. documentupdater:
  12. url: "http://localhost:3003"
  13. docstore:
  14. url: "http://localhost:3016"
  15. web:
  16. url: "http://localhost:3000"
  17. user: "sharelatex"
  18. pass: "password"
  19. redis:
  20. web:
  21. host: "localhost"
  22. port: 6379
  23. pass: ""
  24. history:
  25. port:"6379"
  26. host:"localhost"
  27. password:""
  28. key_schema:
  29. uncompressedHistoryOps: ({doc_id}) -> "UncompressedHistoryOps:#{doc_id}"
  30. docsWithHistoryOps: ({project_id}) -> "DocsWithHistoryOps:#{project_id}"
  31. trackchanges:
  32. s3:
  33. key: ""
  34. secret: ""
  35. stores:
  36. doc_history: ""
  37. path:
  38. dumpFolder: Path.join(TMP_DIR, "dumpFolder")