Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 714 Bytes

README.md

File metadata and controls

24 lines (14 loc) · 714 Bytes

sharelatex-docker

Docker Image

To acquire the build image from the docker's repositories execute:

docker pull  tiagoboldt/sharelatex-docker

Dockerfile

To build the image from source execute:

git clone https://github.com/tiagoboldt/sharelatex-docker.git
cd sharelatex-docker
docker build -t tiagoboldt/sharelatex-docker:sharelatex .

Execution

To start the instance execute:

mkdir /srv/sharelatex-data
docker run -d -p 3000:3000 -v /srv/sharelatex-data:/data tiagoboldt/sharelatex-docker sharelatex.sh

It will be available on http://localhost:3000. Files will be kept in /srv/sharelatex-data. First execution might take some time to be ready. This is due to MongoDb pre-allocation.