settings.defaults.coffee 603 B

1234567891011121314151617181920212223242526272829303132333435
  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. filestore:
  25. backend: "s3"
  26. stores:
  27. user_files: ""
  28. s3:
  29. key: ""
  30. secret: ""
  31. path:
  32. dumpFolder: Path.join(TMP_DIR, "dumpFolder")