full build
This commit is contained in:
commit
844c898e9c
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/*_data/
|
6
Dockerfile
Normal file
6
Dockerfile
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
FROM sharelatex/sharelatex
|
||||||
|
RUN PATH=/usr/local/texlive/2022/bin/x86_64-linux/:$PATH tlmgr install --reinstall scheme-full
|
||||||
|
RUN apt-get update
|
||||||
|
RUN apt-get install -y python3-pip
|
||||||
|
RUN python3 -m pip install Pygments
|
||||||
|
COPY texmf.cnf /usr/local/texlive/2022/texmf.cnf
|
107
docker-compose.yml
Normal file
107
docker-compose.yml
Normal file
@ -0,0 +1,107 @@
|
|||||||
|
version: '2.2'
|
||||||
|
|
||||||
|
networks:
|
||||||
|
v6d:
|
||||||
|
external: true
|
||||||
|
shl: {}
|
||||||
|
|
||||||
|
services:
|
||||||
|
sharelatex:
|
||||||
|
restart: always
|
||||||
|
image: sharelatex/sharelatex:with-texlive-full
|
||||||
|
build: .
|
||||||
|
container_name: sharelatex
|
||||||
|
depends_on:
|
||||||
|
mongo:
|
||||||
|
condition: service_healthy
|
||||||
|
redis:
|
||||||
|
condition: service_started
|
||||||
|
networks:
|
||||||
|
shl: {}
|
||||||
|
v6d: {}
|
||||||
|
ports:
|
||||||
|
- 8580:80
|
||||||
|
expose:
|
||||||
|
- 80
|
||||||
|
links:
|
||||||
|
- mongo
|
||||||
|
- redis
|
||||||
|
stop_grace_period: 10s
|
||||||
|
volumes:
|
||||||
|
- ./sharelatex_data:/var/lib/sharelatex
|
||||||
|
environment:
|
||||||
|
|
||||||
|
SHARELATEX_APP_NAME: Overleaf Community Edition
|
||||||
|
|
||||||
|
SHARELATEX_MONGO_URL: mongodb://mongo/sharelatex
|
||||||
|
|
||||||
|
# Same property, unfortunately with different names in
|
||||||
|
# different locations
|
||||||
|
SHARELATEX_REDIS_HOST: redis
|
||||||
|
REDIS_HOST: redis
|
||||||
|
|
||||||
|
ENABLED_LINKED_FILE_TYPES: 'project_file,project_output_file'
|
||||||
|
|
||||||
|
# Enables Thumbnail generation using ImageMagick
|
||||||
|
ENABLE_CONVERSIONS: 'true'
|
||||||
|
|
||||||
|
# Disables email confirmation requirement
|
||||||
|
EMAIL_CONFIRMATION_DISABLED: 'true'
|
||||||
|
|
||||||
|
# temporary fix for LuaLaTex compiles
|
||||||
|
# see https://github.com/overleaf/overleaf/issues/695
|
||||||
|
TEXMFVAR: /var/lib/sharelatex/tmp/texmf-var
|
||||||
|
|
||||||
|
## Set for SSL via nginx-proxy
|
||||||
|
#VIRTUAL_HOST: 103.112.212.22
|
||||||
|
|
||||||
|
SHARELATEX_SITE_URL: https://overleaf.parrrate.ru
|
||||||
|
# SHARELATEX_NAV_TITLE: Our ShareLaTeX Instance
|
||||||
|
# SHARELATEX_HEADER_IMAGE_URL: http://somewhere.com/mylogo.png
|
||||||
|
# SHARELATEX_ADMIN_EMAIL: support@it.com
|
||||||
|
|
||||||
|
# SHARELATEX_LEFT_FOOTER: '[{"text": "Powered by <a href=\"https://www.sharelatex.com\">ShareLaTeX</a> 2016"},{"text": "Another page I want to link to can be found <a href=\"here\">here</a>"} ]'
|
||||||
|
# SHARELATEX_RIGHT_FOOTER: '[{"text": "Hello I am on the Right"} ]'
|
||||||
|
|
||||||
|
# SHARELATEX_EMAIL_FROM_ADDRESS: "team@sharelatex.com"
|
||||||
|
|
||||||
|
# SHARELATEX_EMAIL_AWS_SES_ACCESS_KEY_ID:
|
||||||
|
# SHARELATEX_EMAIL_AWS_SES_SECRET_KEY:
|
||||||
|
|
||||||
|
# SHARELATEX_EMAIL_SMTP_HOST: smtp.mydomain.com
|
||||||
|
# SHARELATEX_EMAIL_SMTP_PORT: 587
|
||||||
|
# SHARELATEX_EMAIL_SMTP_SECURE: false
|
||||||
|
# SHARELATEX_EMAIL_SMTP_USER:
|
||||||
|
# SHARELATEX_EMAIL_SMTP_PASS:
|
||||||
|
# SHARELATEX_EMAIL_SMTP_TLS_REJECT_UNAUTH: true
|
||||||
|
# SHARELATEX_EMAIL_SMTP_IGNORE_TLS: false
|
||||||
|
# SHARELATEX_EMAIL_SMTP_NAME: '127.0.0.1'
|
||||||
|
# SHARELATEX_EMAIL_SMTP_LOGGER: true
|
||||||
|
# SHARELATEX_CUSTOM_EMAIL_FOOTER: "This system is run by department x"
|
||||||
|
|
||||||
|
mongo:
|
||||||
|
restart: always
|
||||||
|
image: mongo:4.4
|
||||||
|
container_name: sl-mongo
|
||||||
|
networks:
|
||||||
|
shl: {}
|
||||||
|
expose:
|
||||||
|
- 27017
|
||||||
|
volumes:
|
||||||
|
- ./mongo_data:/data/db
|
||||||
|
healthcheck:
|
||||||
|
test: echo 'db.stats().ok' | mongo localhost:27017/test --quiet
|
||||||
|
interval: 10s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
|
redis:
|
||||||
|
restart: always
|
||||||
|
image: redis:5
|
||||||
|
container_name: sl-redis
|
||||||
|
networks:
|
||||||
|
shl: {}
|
||||||
|
expose:
|
||||||
|
- 6379
|
||||||
|
volumes:
|
||||||
|
- ./redis_data:/data
|
11
texmf.cnf
Normal file
11
texmf.cnf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
% (Public domain.)
|
||||||
|
% This texmf.cnf file should contain only your personal changes from the
|
||||||
|
% original texmf.cnf (for example, as chosen in the installer).
|
||||||
|
%
|
||||||
|
% That is, if you need to make changes to texmf.cnf, put your custom
|
||||||
|
% settings in this file, which is .../texlive/YYYY/texmf.cnf, rather than
|
||||||
|
% the distributed file (which is .../texlive/YYYY/texmf-dist/web2c/texmf.cnf).
|
||||||
|
% And include *only* your changed values, not a copy of the whole thing!
|
||||||
|
%
|
||||||
|
|
||||||
|
shell_escape = t
|
Loading…
Reference in New Issue
Block a user