config/overleaf.rc file for Toolkit deployments.
The config/overleaf.rc file consists of variable definitions in the form NAME=value. Lines beginning with # are treated as comments.
overleaf.rc or variables.env by running bin/up.Container
sharelatex
| Name | Description |
|---|---|
PROJECT_NAME | Sets the value of the |
OVERLEAF_IMAGE_NAME | Docker image as used by the Server Pro/CE application container. This is just the Docker image name; the Docker image tag is sourced from |
SERVER_PRO | When set to |
GIT_BRIDGE_ENABLED | Set to |
GIT_BRIDGE_IMAGE | Docker image as used by the git-bridge container (Server Pro only). This is just the Docker image name; the Docker image tag is sourced from |
GIT_BRIDGE_DATA_PATH | Sets the path to the directory that will be mounted into the git-bridge container (Server Pro only), and used to store the git-repositories. This can be either a full path (beginning with a /), or relative to the base directory of the Toolkit. |
GIT_BRIDGE_LOG_LEVEL | Configure the logging level of the |
SIBLING_CONTAINERS_ENABLED | When set to |
SIBLING_CONTAINERS_PULL | When set to |
DOCKER_SOCKET_PATH | Sets the path to the Docker socket on the host machine (the machine running the Toolkit). When |
OVERLEAF_DATA_PATH | Sets the path to the directory that will be mounted into the main |
OVERLEAF_LISTEN_IP | Sets the host IP address(es) that the container will bind to. For example, if this is set to |
OVERLEAF_PORT | Sets the host port that the container will bind to. For example, if this is set to |
OVERLEAF_LOG_PATH | Sets the path to the directory that will be mounted into the main |
mongo
| Name | Description |
|---|---|
MONGO_ENABLED | When set to |
MONGO_URL | Specifies the MongoDB connection URL to use when |
MONGO_DATA_PATH | Sets the path to the directory that will be mounted into the |
MONGO_IMAGE | Docker image as used by the MongoDB container. This is just the name of the Docker image; the Docker image tag should go into |
MONGO_VERSION | MongoDB version as used by the MongoDB container. The value must start with the major MongoDB version and a dot, e.g. |
redis
| Name | Description |
|---|---|
REDIS_ENABLED | When set to |
REDIS_HOST | Specifies the Redis host to use when |
REDIS_PORT | Specifies the Redis port to use when |
REDIS_DATA_PATH | Sets the path to the directory that will be mounted into the |
REDIS_AOF_PERSISTENCE | Turn on AOF (Append Only File) persistence for Redis. This is the recommended configuration for Redis persistence. |
nginx
| Name | Description |
|---|---|
NGINX_ENABLED | When set to |
NGINX_CONFIG_PATH | Path to the NGINX config file to use for the TLS Proxy. |
NGINX_TLS_LISTEN_IP | Sets the host IP address(es) that the TLS Proxy container will bind to for HTTPS. For example, if this is set to |
NGINX_HTTP_LISTEN_IP | Sets the host IP address(es) that the TLS Proxy container will bind to for HTTP redirect. For example, if this is set to |
NGINX_HTTP_PORT | Sets the host port that the TLS Proxy container will bind to for HTTP. |
TLS_PORT | Sets the host port that the TLS Proxy container will bind to for HTTPS. |
TLS_PRIVATE_KEY_PATH | Path to the private key to use for the TLS Proxy. |
TLS_CERTIFICATE_PATH | Path to the public certificate to use for the TLS Proxy. |

