Tidak Ada Deskripsi

Shane Kilkelly 6f5ea89677 Merge pull request #116 from overleaf/sk-server-pro-set-socket-permissions 7 tahun lalu
init_scripts 4283bde9c0 chown /var/www/ to www-data 10 tahun lalu
logrotate 10b6f88f3b add logrotate 10 tahun lalu
nginx 8c08df2717 remove proxy_set_header X-Forwarded-Proto $scheme for https 9 tahun lalu
runit 41ba0063bc Copy logic from clsi entrypoint, to set permissions on docker.sock 7 tahun lalu
.dockerignore ece429d9b0 Added debugging support to services (#113) 7 tahun lalu
.editorconfig 52a6e46cdd addressed PR comments 7 tahun lalu
.gitignore 8cf70ce7f1 Server Pro fixes (#109) 7 tahun lalu
Dockerfile 32cb10a602 Revive overleaf community 7 tahun lalu
Dockerfile-base ece429d9b0 Added debugging support to services (#113) 7 tahun lalu
Makefile d739373892 Add a makefil 9 tahun lalu
README.md 8cf70ce7f1 Server Pro fixes (#109) 7 tahun lalu
git-revision.js f33ea04408 add support for grunt build 10 tahun lalu
package.json d5338b5719 Pin version of simple-git 8 tahun lalu
services.js 2761615440 Pin contacts to branch 'sk-update-mongojs' 9 tahun lalu
settings.coffee ece429d9b0 Added debugging support to services (#113) 7 tahun lalu

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.