Nenhuma descrição

Jakob Ackermann ebd31737a5 [misc] minimize the main stage (#122) 6 anos atrás
hotfix bb3485016e Added missing recaptcha configuration (#132) 6 anos atrás
init_scripts e83b7856c3 [init] bail out in case the db access fails (#123) 6 anos atrás
logrotate 10b6f88f3b add logrotate 10 anos atrás
nginx e422c20e74 [nginx] simplify the root specification for sendfile (#121) 6 anos atrás
runit 5c9a56d906 Removed node6 and updated modules to Node 10 (#135) 6 anos atrás
.dockerignore ece429d9b0 Added debugging support to services (#113) 7 anos atrás
.editorconfig 52a6e46cdd addressed PR comments 7 anos atrás
.gitignore 8cf70ce7f1 Server Pro fixes (#109) 7 anos atrás
Dockerfile ebd31737a5 [misc] minimize the main stage (#122) 6 anos atrás
Dockerfile-base 47e51a2075 [misc] minimize base image (#120) 6 anos atrás
Makefile d739373892 Add a makefil 9 anos atrás
README.md 8cf70ce7f1 Server Pro fixes (#109) 7 anos atrás
git-revision.sh df2d46df82 [misc] export all git repository revisions 6 anos atrás
services.js 2761615440 Pin contacts to branch 'sk-update-mongojs' 9 anos atrás
settings.coffee 5e0f94f404 [settings] produce a consistent redis config for every service (#124) 6 anos atrás

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.