2022-06-29 13:37:27 +02:00
|
|
|
version: "3.9"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
net:
|
|
|
|
external: false
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
redis:
|
2022-10-01 15:54:22 +02:00
|
|
|
mongo:
|
2022-06-29 13:37:27 +02:00
|
|
|
|
|
|
|
services:
|
|
|
|
sharelatex:
|
2022-09-07 08:58:06 +02:00
|
|
|
image: sharelatex/sharelatex
|
2022-06-29 13:37:27 +02:00
|
|
|
container_name: sharelatex
|
|
|
|
restart: unless-stopped
|
|
|
|
depends_on:
|
|
|
|
sharelatex-db:
|
|
|
|
sharelatex-redis:
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:8080:80"
|
|
|
|
volumes:
|
|
|
|
- ./sharelatex_data:/var/lib/sharelatex
|
|
|
|
- ./sharelatex_packages:/usr/local/texlive
|
2022-09-07 08:58:06 +02:00
|
|
|
environment:
|
|
|
|
SHARELATEX_APP_NAME: Overleaf
|
|
|
|
SHARELATEX_MONGO_URL: mongodb://sharelatex-db/sharelatex
|
|
|
|
SHARELATEX_REDIS_HOST: sharelatex-redis
|
|
|
|
REDIS_HOST: sharelatex-redis
|
|
|
|
ENABLED_LINKED_FILE_TYPES: 'url,project_file'
|
|
|
|
ENABLE_CONVERSIONS: 'true'
|
|
|
|
EMAIL_CONFIRMATION_DISABLED: 'true'
|
|
|
|
TEXMFVAR: /var/lib/sharelatex/tmp/texmf-var
|
|
|
|
SHARELATEX_SITE_URL: https://tex.tp.unjx.de
|
|
|
|
SHARELATEX_NAV_TITLE: ShareLaTeX Instance
|
|
|
|
networks:
|
|
|
|
- net
|
2022-06-29 13:37:27 +02:00
|
|
|
|
|
|
|
sharelatex-db:
|
|
|
|
image: mongo:4.0
|
|
|
|
container_name: sharelatex-db
|
2022-09-07 08:58:06 +02:00
|
|
|
restart: unless-stopped
|
2022-06-29 13:37:27 +02:00
|
|
|
volumes:
|
|
|
|
- ./db:/data/db
|
2022-10-01 15:54:22 +02:00
|
|
|
- mongo:/data/configdb
|
2022-09-07 08:58:06 +02:00
|
|
|
expose:
|
|
|
|
- 27017
|
|
|
|
networks:
|
|
|
|
- net
|
2022-06-29 13:37:27 +02:00
|
|
|
|
|
|
|
sharelatex-redis:
|
2022-10-01 15:54:22 +02:00
|
|
|
image: redis:5
|
2022-06-29 13:37:27 +02:00
|
|
|
container_name: sharelatex-redis
|
2022-09-07 08:58:06 +02:00
|
|
|
restart: unless-stopped
|
2022-06-29 13:37:27 +02:00
|
|
|
volumes:
|
|
|
|
- redis:/data
|
2022-09-07 08:58:06 +02:00
|
|
|
expose:
|
|
|
|
- 6379
|
|
|
|
networks:
|
|
|
|
- net
|