settings.defaults.coffee 994 B

12345678910111213141516171819202122232425262728293031323334353637
  1. Path = require "path"
  2. module.exports =
  3. internal:
  4. filestore:
  5. port: 3009
  6. host: "localhost"
  7. filestore:
  8. # Which backend persistor to use.
  9. # Choices are
  10. # s3 - Amazon S3
  11. # fs - local filesystem
  12. backend: "fs"
  13. stores:
  14. # where to store user and template binary files
  15. #
  16. # For Amazon S3 this is the bucket name to store binary files in.
  17. #
  18. # For local filesystem this is the directory to store the files in.
  19. # Must contain full path, e.g. "/var/lib/sharelatex/data".
  20. # This path must exist, not be tmpfs and be writable to by the user sharelatex is run as.
  21. user_files: Path.resolve(__dirname + "/../user_files")
  22. # if you are using S3, then fill in your S3 details below
  23. # s3:
  24. # key: ""
  25. # secret: ""
  26. path:
  27. uploadFolder: Path.resolve(__dirname + "/../uploads")
  28. # Filestore health check
  29. # ----------------------
  30. # Project and file details to check in persistor when calling /health_check
  31. # health_check:
  32. # project_id: ""
  33. # file_id: ""