mirror of
https://github.com/overleaf/toolkit.git
synced 2025-04-19 15:28:06 +02:00
Allow users to customize the image address. (#138)
* Allow users to customize the image address. Signed-off-by: siaimes <34199488+siaimes@users.noreply.github.com> * Change IMAGE_NAME to SHARELATEX_IMAGE_REPO and commented out it by default. Signed-off-by: siaimes <34199488+siaimes@users.noreply.github.com> * Change SHARELATEX_IMAGE_REPO to SHARELATEX_IMAGE_NAME. Signed-off-by: siaimes <34199488+siaimes@users.noreply.github.com> --------- Signed-off-by: siaimes <34199488+siaimes@users.noreply.github.com>
This commit is contained in:
parent
4204bad426
commit
e9d1657cc5
2 changed files with 3 additions and 0 deletions
|
@ -66,6 +66,7 @@ function __main__() {
|
|||
if [[ "${SERVER_PRO:-null}" == "true" ]]; then
|
||||
image_name="quay.io/sharelatex/sharelatex-pro"
|
||||
fi
|
||||
image_name="${SHARELATEX_IMAGE_NAME:-${image_name}}"
|
||||
|
||||
local full_image_spec="$image_name:$SHARELATEX_IMAGE_VERSION"
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
PROJECT_NAME=overleaf
|
||||
|
||||
# Sharelatex container
|
||||
# Uncomment the SHARELATEX_IMAGE_NAME variable to use a user-defined image.
|
||||
# SHARELATEX_IMAGE_NAME=sharelatex/sharelatex
|
||||
SHARELATEX_DATA_PATH=data/sharelatex
|
||||
SERVER_PRO=false
|
||||
SHARELATEX_LISTEN_IP=127.0.0.1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue