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

@ -19,3 +19,4 @@ tout en vérifiant qu'il n'est lisible que par root.
* 8083 -> PrivateBin (paste)
* 8084 -> EtherPad (pad)
* 8085 -> Django CAS server (cas)
* 8086 -> ShareLaTeX

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

9
sharelatex/Dockerfile Normal file
View file

@ -0,0 +1,9 @@
FROM sharelatex/sharelatex
ENV SHARELATEX_APP_NAME="ShareLaTeX Aurore"
ENV SHARELATEX_MONGO_URL=mongodb://mongo/sharelatex
ENV SHARELATEX_REDIS_HOST=redis
ENV REDIS_HOST=redis
ENV ENABLED_LINKED_FILE_TYPES=url,project_file
ENV SHARELATEX_SITE_URL=https://sharelatex.auro.re
ENV SHARELATEX_ADMIN_EMAIL=root@localhost