Add sharelatex

This commit is contained in:
Alexandre Iooss 2020-02-22 19:13:24 +01:00
parent aac1b403db
commit 028a9f6154
3 changed files with 40 additions and 0 deletions

View file

@ -1,6 +1,23 @@
version: "3"
services:
##################################################
# DATABASES #
##################################################
mongo:
image: mongo
restart: always
volumes:
- ./mongo_data:/data/db
redis:
image: redis
restart: always
volumes:
- ./redis_data:/data
riot:
build: riot
restart: always
@ -90,3 +107,16 @@ services:
- "8085:8000"
depends_on:
- postgres
sharelatex:
build: sharelatex
restart: always
volumes:
- ./sharelatex_data:/var/lib/sharelatex
- /var/run/docker.sock:/var/run/docker.sock
privileged: true
ports:
- "8086:8000"
depends_on:
- mongo
- redis