1
0
Fork 0
mirror of https://github.com/overleaf/toolkit.git synced 2025-04-19 15:28:06 +02:00

Remove ShareLaTeX branding from in-container mount target

This commit is contained in:
Jakob Ackermann 2024-02-12 12:29:19 +00:00
parent 3d5f07dc2e
commit 5c3be0fe16
No known key found for this signature in database
GPG key ID: 30C56800FCA3828A
2 changed files with 7 additions and 1 deletions

View file

@ -84,12 +84,18 @@ function set_base_vars() {
HAS_WEB_API=true
fi
OVERLEAF_IN_CONTAINER_DATA_PATH=/var/lib/overleaf
if [[ "$IMAGE_VERSION_MAJOR" -lt 5 ]]; then
OVERLEAF_IN_CONTAINER_DATA_PATH=/var/lib/sharelatex
fi
export GIT_BRIDGE_ENABLED
export MONGO_URL
export REDIS_HOST
export REDIS_PORT
export OVERLEAF_DATA_PATH
export OVERLEAF_PORT
export OVERLEAF_IN_CONTAINER_DATA_PATH
}
# Set environment variables for docker-compose.redis.yml

View file

@ -7,7 +7,7 @@ services:
image: "${IMAGE}"
container_name: sharelatex
volumes:
- "${OVERLEAF_DATA_PATH}:/var/lib/sharelatex"
- "${OVERLEAF_DATA_PATH}:${OVERLEAF_IN_CONTAINER_DATA_PATH}"
ports:
- "${OVERLEAF_LISTEN_IP:-127.0.0.1}:${OVERLEAF_PORT:-80}:80"
environment: