Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ShareLatex Docker Compose
version: '2'
services:
redis:
image: redis:3
mongo:
image: mongo:2.6
restart: always
volumes:
- "./data/mongo:/data/db"
latex:
depends_on:
- mongo
- redis
image: sharelatex/sharelatex
links:
- mongo
- redis
ports:
- "80:80"
restart: always
volumes:
- "./data/sharelatex:/var/lib/sharelatex"
environment:
SHARELATEX_SITE_URL: http://latex.ourdomain.net
SHARELATEX_REDIS_HOST: redis
SHARELATEX_MONGO_URL: mongodb://mongo/sharelatex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.