settings.test.coffee 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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("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. synctexBaseDir: () -> "/compile"
  17. sandboxedCompilesHostDir: process.env['SANDBOXED_COMPILES_HOST_DIR']
  18. clsi:
  19. #strace: true
  20. #archive_logs: true
  21. commandRunner: "docker-runner-sharelatex"
  22. latexmkCommandPrefix: ["/usr/bin/time", "-v"] # on Linux
  23. docker:
  24. image: process.env.TEXLIVE_IMAGE || "texlive-full:2017.1-opt"
  25. env:
  26. PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/texlive/2017/bin/x86_64-linux/"
  27. HOME: "/tmp"
  28. modem:
  29. socketPath: false
  30. user: process.env.SIBLING_CONTAINER_USER ||"111"
  31. internal:
  32. clsi:
  33. port: 3013
  34. load_port: 3044
  35. host: "localhost"
  36. apis:
  37. clsi:
  38. url: "http://localhost:3013"
  39. smokeTest: false
  40. project_cache_length_ms: 1000 * 60 * 60 * 24
  41. parallelFileDownloads:1