Miguel Serrano fc0c464216 Copy synctex executable to docker host (#129) 7 lat temu
..
hotfix d29b3fa1f7 Overleaf CE Hotfix 2.0.1 (#126) 7 lat temu
init_scripts eadfb316b4 chown /var/www/ to www-data 9 lat temu
logrotate 81d99e968f add logrotate 10 lat temu
nginx af4703a2e2 remove proxy_set_header X-Forwarded-Proto $scheme for https 9 lat temu
runit fc0c464216 Copy synctex executable to docker host (#129) 7 lat temu
.dockerignore fad5639f55 Added debugging support to services (#113) 7 lat temu
.editorconfig 803f920b55 addressed PR comments 7 lat temu
.gitignore f100877eb7 Server Pro fixes (#109) 7 lat temu
Dockerfile 325c31d602 Linked CLSI synctext to /opts/synctex (#118) 7 lat temu
Dockerfile-base fad5639f55 Added debugging support to services (#113) 7 lat temu
Makefile 618c271039 Add a makefil 9 lat temu
README.md f100877eb7 Server Pro fixes (#109) 7 lat temu
git-revision.js 3e7595f3f2 add support for grunt build 10 lat temu
package.json ad30a56f0a Pin version of simple-git 8 lat temu
services.js 04579ce503 Pin contacts to branch 'sk-update-mongojs' 9 lat temu
settings.coffee bfcba2a943 Remove overriden v1 settings (#128) 7 lat temu

README.md

Overleaf Docker Image

This is the source for building the Overleaf community-edition docker image.

End-User Install

Please see the offical wiki for install guides

Development

This repo contains two dockerfiles, Dockerfile-base, which builds the sharelatex/sharelatex-base image, and Dockerfile which builds the sharelatex/sharelatex (or "community") image.

The Base image generally contains the basic dependencies like wget and aspell, plus texlive. We split this out because it's a pretty heavy set of dependencies, and it's nice to not have to rebuild all of that every time.

The sharelatex/sharelatex image extends the base image and adds the actual Overleaf code and services.

Use make build-base and make build-community to build these images.

How the Overleaf code gets here

This repo uses the public Overleaf repository, which used to be the main public source for the Overleaf system.

That repo is cloned down into the docker image, and a script then installs all the services.

How services run inside the container

We use the Phusion base-image (which is extended by our base image) to provide us with a VM-like container in which to run the Overleaf services. Baseimage uses the runit service manager to manage services, and we add our init-scripts from the ./runit folder.