Add sharelatex
This commit is contained in:
parent
aac1b403db
commit
028a9f6154
3 changed files with 40 additions and 0 deletions
|
@ -19,3 +19,4 @@ tout en vérifiant qu'il n'est lisible que par root.
|
||||||
* 8083 -> PrivateBin (paste)
|
* 8083 -> PrivateBin (paste)
|
||||||
* 8084 -> EtherPad (pad)
|
* 8084 -> EtherPad (pad)
|
||||||
* 8085 -> Django CAS server (cas)
|
* 8085 -> Django CAS server (cas)
|
||||||
|
* 8086 -> ShareLaTeX
|
||||||
|
|
|
@ -1,6 +1,23 @@
|
||||||
version: "3"
|
version: "3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
|
##################################################
|
||||||
|
# DATABASES #
|
||||||
|
##################################################
|
||||||
|
|
||||||
|
mongo:
|
||||||
|
image: mongo
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ./mongo_data:/data/db
|
||||||
|
|
||||||
|
redis:
|
||||||
|
image: redis
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ./redis_data:/data
|
||||||
|
|
||||||
riot:
|
riot:
|
||||||
build: riot
|
build: riot
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -90,3 +107,16 @@ services:
|
||||||
- "8085:8000"
|
- "8085:8000"
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- 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
9
sharelatex/Dockerfile
Normal 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
|
Loading…
Reference in a new issue