Expand list of environment variables

This commit is contained in:
Christopher Hoskin 2021-03-16 12:00:48 +00:00
parent f38cef6e56
commit 17a83bc169

View file

@ -15,17 +15,29 @@ The provided `Dockerfile` builds a docker image which has the docker command lin
The CLSI can be configured through the following environment variables:
* `DOCKER_RUNNER` - Set to true to use sibling containers
* `SYNCTEX_BIN_HOST_PATH` - Path to SyncTeX binary
* `ALLOWED_COMPILE_GROUPS`
* `ALLOWED_IMAGES`
* `CATCH_ERRORS`
* `COMPILE_GROUP_DOCKER_CONFIGS`
* `COMPILES_HOST_DIR` - Working directory for LaTeX compiles
* `SQLITE_PATH` - Path to SQLite database
* `TEXLIVE_IMAGE` - The TEXLIVE docker image to use for sibling containers, e.g. `gcr.io/overleaf-ops/texlive-full:2017.1`
* `TEXLIVE_IMAGE_USER` - When using sibling containers, the user to run as in the TEXLIVE image. Defaults to `tex`
* `TEX_LIVE_IMAGE_NAME_OVERRIDE` - The name of the registry for the docker image e.g. `gcr.io/overleaf-ops`
* `COMPILE_SIZE_LIMIT`
* `DOCKER_RUNNER` - Set to true to use sibling containers
* `DOCKER_RUNTIME`
* `FILESTORE_DOMAIN_OVERRIDE` - The url for the filestore service e.g.`http://$FILESTORE_HOST:3009`
* `STATSD_HOST` - The address of the Statsd service (used by the metrics module)
* `FILESTORE_PARALLEL_FILE_DOWNLOADS`
* `FILESTORE_PARALLEL_SQL_QUERY_LIMIT`
* `LISTEN_ADDRESS` - The address for the RESTful service to listen on. Set to `0.0.0.0` to listen on all network interfaces
* `PROCESS_LIFE_SPAN_LIMIT_MS`
* `SENTRY_DSN`
* `SMOKE_TEST` - Whether to run smoke tests
* `SQLITE_PATH` - Path to SQLite database
* `SYNCTEX_BIN_HOST_PATH` - Path to SyncTeX binary
* `TEXLIVE_IMAGE` - The TEXLIVE docker image to use for sibling containers, e.g. `gcr.io/overleaf-ops/texlive-full:2017.1`
* `TEX_LIVE_IMAGE_NAME_OVERRIDE` - The name of the registry for the docker image e.g. `gcr.io/overleaf-ops`
* `TEXLIVE_IMAGE_USER` - When using sibling containers, the user to run as in the TEXLIVE image. Defaults to `tex`
* `TEXLIVE_OPENOUT_ANY`
Further environment variables configure the [metrics module](https://github.com/overleaf/metrics-module)
Installation
------------