Overleaf Community Edition runs LaTeX compiles inside the sharelatex container, so every user must be trusted
A web-based collaborative LaTeX editor
At a glance
- What is it?
- Overleaf Community Edition is the self-hosted, AGPL-3.0 build of the collaborative LaTeX editor. It works for a lab of people who trust each other, and the README is blunt that it is wrong for anything else.
- Who is it for?
- Run Overleaf Community Edition if every account on the server belongs to someone you would give shell access to, such as a single lab or a small company group. Choose Server Pro, or the hosted site, if users must be isolated from each other.
- Can I use it commercially?
- Yes, with strict conditions. AGPL-3.0 is a network copyleft licence: if people use a modified version over a network, for example as a hosted service, you must offer them its source code under the same licence.
- Is it still maintained?
- Yes. The repository last received commits 70 days ago.
- What is it written in?
- Mainly JavaScript, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.
Star history
- overleaf/overleaf18,368 ★ · +152
| Repository | 2026-10-08 | 2026-11-25 |
|---|---|---|
| overleaf/overleaf | 18.2k | 18.4k |
152 Stars in the last 48 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
Unsandboxed compiles hand every user the sharelatex container
The README opens its warning with a caution block: Community Edition is intended for environments where all users are trusted. The reason is concrete. Sandboxed Compiles are not available in this edition, and without them a user running a LaTeX compile has full read and write access to the sharelatex container resources. That covers the filesystem, the network and the environment variables.
Environment variables matter here because the container is where settings such as OVERLEAF_MONGO_URL live. Anyone who can create a project and compile it gets that access, because the README gives no separate boundary for compiles.
The consequence is a sizing decision before it is a technical one. A research group where everyone is already on the same cluster can accept this. A university department that opens registration to students it does not know cannot. Sandboxed Compiles are documented as a Server Pro configuration option, so isolation is something you buy, not something you toggle.
Installation is delegated to the Overleaf Toolkit
The Installation section of the README is one sentence: detailed installation instructions live in the Overleaf Toolkit, a separate repository at github.com/overleaf/toolkit. This repository does not carry a step-by-step guide, so there is no install command to copy from it.
The repository does ship a docker-compose.yml and a docker-compose.debug.yml at the top level. The compose file starts a service named sharelatex from the image sharelatex/sharelatex, publishes port 80:80, sets restart: always, and gives the container a stop_grace_period of 60s. It waits for a mongo service to report healthy and for redis to start. Data is mounted from ~/sharelatex_data to /var/lib/overleaf inside the container.
A comment in the same file notes that Server Pro users swap in image: quay.io/sharelatex/sharelatex-pro. The Toolkit is the supported path, and the compose file is a reference for what the Toolkit wires together.
The compose file needs a secret and two Redis variable names
Reading docker-compose.yml shows several settings that trip people up. OVERLEAF_INVITE_TOKEN_SECRET is marked IMPORTANT because it is required for invite token generation, and the comment says to generate the value with openssl rand -base64 32. It ships commented out, so a copy of the file without that edit leaves invites without a secret.
The Redis address is set twice, once as OVERLEAF_REDIS_HOST and once as REDIS_HOST, both to redis. A comment in the file admits this is the same property with different names in different locations. Set one and forget the other and some services will not find Redis.
OVERLEAF_MONGO_URL: mongodb://mongo/sharelatex
OVERLEAF_REDIS_HOST: redis
REDIS_HOST: redis
ENABLED_LINKED_FILE_TYPES: "project_file,project_output_file"
ENABLE_CONVERSIONS: "true"
EMAIL_CONFIRMATION_DISABLED: "true"ENABLE_CONVERSIONS turns on thumbnail generation with ImageMagick. EMAIL_CONFIRMATION_DISABLED removes the email confirmation requirement, which is convenient on a private server and a gap on a public one.
Branding and site URL are set through OVERLEAF_ variables
The compose file lists commented-out variables for making an instance look like your own. OVERLEAF_SITE_URL takes the address people will use, with the example http://overleaf.example.com. OVERLEAF_NAV_TITLE sets the navigation title and defaults in the sample to Overleaf Community Edition. OVERLEAF_APP_NAME is set to the same string.
OVERLEAF_HEADER_IMAGE_URL points at a logo, with http://example.com/mylogo.png as the sample. Separate OVERLEAF_HEADER_IMAGE_URL_LIGHT and OVERLEAF_HEADER_IMAGE_URL_DARK variables exist for light and dark themes, so a single logo that only reads on a white background is not forced on dark mode.
For TLS, a comment says to set VIRTUAL_HOST for SSL via nginx-proxy. The compose file does not terminate TLS itself. If you expose port 80 directly, traffic and login credentials travel unencrypted, so a reverse proxy in front is part of the deployment, not an optional extra.
The Docker image is built in two layers because TeX Live is heavy
The repository contains two Dockerfiles under server-ce/. Dockerfile-base builds sharelatex/sharelatex-base, which holds general dependencies such as wget plus texlive. Dockerfile builds sharelatex/sharelatex, also called the community image, by extending the base and adding the Overleaf code and services.
The split exists because texlive is a pretty heavy set of dependencies, and it is nice not to have to rebuild all of that every time. Build both from the server-ce directory:
make build-base
make build-communityThe base image extends the Phusion baseimage, which gives a VM-like container. Baseimage uses the runit service manager to supervise the processes, and Overleaf adds its init scripts from the server-ce/runit folder. One container therefore runs several Overleaf services under runit, instead of one process per container. The compose file lists only sharelatex, mongo and redis.
Server Pro holds the features Community Edition leaves out
The Enterprise section of the README names what the paid edition adds: SSO with LDAP or SAML, more administration features, and collaboration features such as tracked changes. Overleaf Server Pro is described as the officially supported version, with help installing and maintaining Overleaf in a lab or workplace.
For Community Edition, that means three gaps. No LDAP or SAML sign-in, so accounts are managed locally. No tracked changes, which matters when a supervisor reviews a student's thesis chapter. No Sandboxed Compiles, the point from the first section.
The compose file shows how closely the two editions are related. Server Pro swaps the image and uncomments the line mounting /var/run/docker.sock, which the file says is required for Sibling Containers to work. Sibling Containers need that socket mounted, so the Server Pro setup depends on giving the sharelatex container access to the host Docker daemon.
Upgrades are a manual walk through wiki release notes
The Upgrading section tells you to read the Release Notes on the repository wiki for every version between your current one and your target. There is no upgrade command and no automated migration described in the README, so skipping versions means reading each set of notes in order.
The GitHub releases list will not help you track this. The most recent tagged releases are v0.1.3 from 2015-02-26, then v0.1.2 on 2015-02-10 and v0.1.1 on 2014-09-29. The repository itself is not dormant: its last push was on 2026-09-17, and it is not archived. Version tracking happens through the wiki and the mailing list, which the README suggests joining for updates on releases and development.
The repository is a monorepo with services/, libraries/ and server-ce/ at the top level, using yarn 4.18.0 and requiring Node 24.18.1 or newer. That requirement applies to people developing from source. Anyone running the Docker image does not install Node themselves.
Editorial conclusion
Run Overleaf Community Edition if every account on the server belongs to someone you would give shell access to, such as a single lab or a small company group. Choose Server Pro, or the hosted site, if users must be isolated from each other. Before installing, confirm that you can live without sandboxed compiles, SSO and tracked changes.
Frequently asked questions
Is Overleaf free or paid?
Overleaf Community Edition is released under AGPL-3.0 and you can run it yourself. The officially supported Overleaf Server Pro is a separate paid edition with SSO, administration and tracked changes, and a hosted version runs at www.overleaf.com.
How to install overleaf locally?
The README sends you to the Overleaf Toolkit repository at github.com/overleaf/toolkit for detailed instructions. The repository also contains a docker-compose.yml that starts sharelatex, mongo and redis.
What is the use of Overleaf?
Overleaf is an open-source online real-time collaborative LaTeX editor. You can use the hosted version at www.overleaf.com or run your own copy.
How to install overleaf?
Follow the instructions in the Overleaf Toolkit. To build the Docker images from this repository, run make build-base and make build-community from the server-ce directory.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/overleaf-overleaf)Star history chart for your README
[](https://hysenlabs.com/projects/overleaf-overleaf)Was this useful?