2017-01-25 09:08:39 -05:00
|
|
|
Path = require "path"
|
|
|
|
|
|
|
|
module.exports =
|
|
|
|
# Options are passed to Sequelize.
|
|
|
|
# See http://sequelizejs.com/documentation#usage-options for details
|
|
|
|
mysql:
|
|
|
|
clsi:
|
|
|
|
database: "clsi"
|
|
|
|
username: "clsi"
|
|
|
|
password: null
|
|
|
|
dialect: "sqlite"
|
|
|
|
storage: Path.resolve("db.sqlite")
|
|
|
|
|
|
|
|
path:
|
|
|
|
compilesDir: Path.resolve(__dirname + "/../../../compiles")
|
|
|
|
clsiCacheDir: Path.resolve(__dirname + "/../../../cache")
|
|
|
|
#synctexBaseDir: (project_id) -> Path.join(@compilesDir, project_id)
|
|
|
|
synctexBaseDir: () -> "/compile"
|
2017-09-08 09:06:04 -04:00
|
|
|
sandboxedCompilesHostDir: process.env['SANDBOXED_COMPILES_HOST_DIR']
|
2017-01-25 09:08:39 -05:00
|
|
|
|
|
|
|
clsi:
|
|
|
|
#strace: true
|
|
|
|
#archive_logs: true
|
|
|
|
commandRunner: "docker-runner-sharelatex"
|
2017-02-21 04:34:04 -05:00
|
|
|
latexmkCommandPrefix: ["/usr/bin/time", "-v"] # on Linux
|
2017-01-25 09:08:39 -05:00
|
|
|
docker:
|
2017-09-08 09:06:04 -04:00
|
|
|
image: process.env.TEXLIVE_IMAGE || "texlive-full:2017.1-opt"
|
2017-01-25 09:08:39 -05:00
|
|
|
env:
|
2017-07-12 11:58:48 -04:00
|
|
|
PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/texlive/2017/bin/x86_64-linux/"
|
2017-01-25 09:08:39 -05:00
|
|
|
HOME: "/tmp"
|
|
|
|
modem:
|
|
|
|
socketPath: false
|
2017-09-08 09:06:04 -04:00
|
|
|
user: process.env.SIBLING_CONTAINER_USER ||"111"
|
2017-01-25 09:08:39 -05:00
|
|
|
|
|
|
|
internal:
|
|
|
|
clsi:
|
|
|
|
port: 3013
|
|
|
|
load_port: 3044
|
|
|
|
host: "localhost"
|
|
|
|
|
|
|
|
apis:
|
|
|
|
clsi:
|
|
|
|
url: "http://localhost:3013"
|
|
|
|
|
|
|
|
smokeTest: false
|
|
|
|
project_cache_length_ms: 1000 * 60 * 60 * 24
|
|
|
|
parallelFileDownloads:1
|