mirror of
https://github.com/overleaf/toolkit.git
synced 2025-04-18 14:58:21 +02:00
* Add scripts to rebrand variables.env and overleaf.rc
* Update bin/upgrade to prompt for config file rebrand
* Update bin/up to check for correct variable prefix
Ensures SHARELATEX_ is in place for version <= 4.x, and
OVERLEAF_ for version >= 5.x
* Rebrand variables for bin/docker-compose
Updates docker-compose.base.yml and sibling containers
base file with the changes in the script
* Update bin/doctor to support OVERLEAF_ prefix
* Update documentation with the OVERLEAF_ prefix
* Rebrand variables.env and overleaf.rc in config-seed
* Prepare config/version and CHANGELOG for release (WIP)
* Fix script documentation
Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
* Fix doctor logs
Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
* Remove unnecessary fallbacks to SHARELATEX_ vars
* SEt OVERLEAF_DATA_PATH to data/overleaf
* Remove duplicated environment entries
* Moved prefix brand checs from bin/up to bin/docker-compose
* Move set +o pipefail into subshell commands
* Use separate legacy compose files for required SHARELATEX_ vars
* Handle overleaf.rc rebranding before version upgrade
* Group output from rebranding process
* Move prompt for rebranding into helper function
* Refuse to start with mismatching ShareLaTeX vs Overleaf branded configs
* Print expected prefix when checking variables.env
* Print number of mismatching variables in overleaf.rc
* Check on variable rebranding from bin/doctor
* Cleanup bin/doctor lookup for ShareLaTeX branded overleaf.rc
* Update filesystem paths in bin/logs and docs
* Flag old TEXMFVAR entry in config/variables.env
REF: 1829e7ee2a
* Update config-seed version to 5.0.1 and changelog
---------
Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
34 lines
719 B
Text
34 lines
719 B
Text
# Default values for config/overleaf.rc
|
|
|
|
PROJECT_NAME=overleaf
|
|
SERVER_PRO=false
|
|
OVERLEAF_DATA_PATH=data/sharelatex
|
|
OVERLEAF_PORT=80
|
|
|
|
# Sibling containers
|
|
SIBLING_CONTAINERS_ENABLED=false
|
|
DOCKER_SOCKET_PATH=/var/run/docker.sock
|
|
|
|
# Mongo configuration
|
|
MONGO_ENABLED=true
|
|
MONGO_IMAGE=mongo:4.0
|
|
MONGO_URL=mongodb://mongo/sharelatex
|
|
|
|
# Redis configuration
|
|
REDIS_ENABLED=true
|
|
REDIS_IMAGE=redis:5.0
|
|
REDIS_HOST=redis
|
|
REDIS_PORT=6379
|
|
REDIS_DATA_PATH=data/redis
|
|
|
|
# Git bridge configuration
|
|
GIT_BRIDGE_ENABLED=false
|
|
GIT_BRIDGE_DATA_PATH=data/git-bridge
|
|
GIT_BRIDGE_LOG_LEVEL=INFO
|
|
|
|
# TLS proxy configuration
|
|
NGINX_ENABLED=false
|
|
NGINX_IMAGE=nginx:1.19-alpine
|
|
NGINX_CONFIG_PATH=config/nginx/nginx.conf
|
|
NGINX_HTTP_PORT=80
|
|
TLS_PORT=443
|