settings.defaults.coffee 973 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. Path = require "path"
  2. module.exports =
  3. # Options are passed to Sequelize.
  4. # See http://sequelizejs.com/documentation#usage-options for details
  5. mysql:
  6. clsi:
  7. database: "clsi"
  8. username: "clsi"
  9. password: null
  10. dialect: "sqlite"
  11. storage: Path.resolve(__dirname + "/../db.sqlite")
  12. path:
  13. compilesDir: Path.resolve(__dirname + "/../compiles")
  14. clsiCacheDir: Path.resolve(__dirname + "/../cache")
  15. synctexBaseDir: (project_id) -> Path.join(@compilesDir, project_id)
  16. # clsi:
  17. # commandRunner: "docker-runner-sharelatex"
  18. # docker:
  19. # image: "quay.io/sharelatex/texlive-full:2017.1"
  20. # env:
  21. # HOME: "/tmp"
  22. # socketPath: "/var/run/docker.sock"
  23. # user: "tex"
  24. # expireProjectAfterIdleMs: 24 * 60 * 60 * 1000
  25. # checkProjectsIntervalMs: 10 * 60 * 1000
  26. internal:
  27. clsi:
  28. port: 3013
  29. host: "localhost"
  30. apis:
  31. clsi:
  32. url: "http://localhost:3013"
  33. smokeTest: false
  34. project_cache_length_ms: 1000 * 60 * 60 * 24
  35. parallelFileDownloads:1