forked from overleaf/overleaf
-
Notifications
You must be signed in to change notification settings - Fork 90
Extended CE: Environment Variables
yu-i-i edited this page Jul 20, 2026
·
6 revisions
In addition to the environment variables used in upstream Overleaf Server CE, the following variables has been added in Extended CE:
-
MAX_UPLOAD_SIZE- Specifies the maximum size of an uploaded project or file (in MB). The default value is 50 MB.
- The nginx server must be configured accordingly. If using overleaf-toolkit, set for example
client_max_body_size 100M;inoverleaf-toolkit/config/nginx/nginx.conf. - If Git integration is enabled, set
GIT_BRIDGE_REPOSTORE_MAX_FILE_SIZEaccordingly. Note that this value is specified in bytes.
-
OVERLEAF_EMAIL_SMTP_PASS_FILE- Used to provide the email password from a file rather than directly via the environment variable
OVERLEAF_EMAIL_SMTP_PASS. Useful when used with Docker Compose secrets.
- Used to provide the email password from a file rather than directly via the environment variable
-
OVERLEAF_HISTORY_RESTORE- If set to
true, users can restore projects or files from history snapshots. This functionality has existed in CE for a long time and works without visible issues, but it is still considered experimental. To enable restoring from history for projects created before this variable was set totrue, run the following inmongosh:db.projects.updateMany({}, { $set: { "overleaf.history.rangesSupportEnabled": true } });
- If set to
-
OVERLEAF_THEMED_DASHBOARD-
If set to(removed intrue, experimental themed support for project list and admin tools dashboards is enabled6.2.0-ext-v5.0)
-
-
ENABLE_EDITOR_TABS- If set to
true, enables the experimental upstream editor tabs feature
- If set to
-
ENABLE_PANDOC_CONVERSIONS- If set to
true, enables the experimental upstream Pandoc conversion features. See Pandoc Conversions for details
- If set to