diff --git a/install.sh b/install.sh index 4cf8abc2ac8c062a42283042a63e582d5009acf0..d200d739da61c8525434ce56bbbea255b98cab3b 100644 --- a/install.sh +++ b/install.sh @@ -1,7 +1,8 @@ #!/bin/bash # preset -VERSION="1.8.1" +APP_VERSION="1.8.1" +DOC_VERSION="1.8" MIN_CPU=8 MIN_RAM=4 MIN_MAP_COUNT=262144 @@ -63,8 +64,8 @@ else fi # environment -echo "[🚀] Gathering environment for version ${VERSION} ..." -curl -ksSL -o ./dist.tar.gz "https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/${VERSION}/dist.tar.gz" +echo "[🚀] Gathering environment for version ${APP_VERSION} ..." +curl -ksSL -o ./dist.tar.gz "https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/${APP_VERSION}/dist.tar.gz" tar xzfv ./dist.tar.gz if [[ $DOWNLOAD_ONLY -eq 1 ]]; then @@ -72,7 +73,7 @@ if [[ $DOWNLOAD_ONLY -eq 1 ]]; then exit 0 fi -echo "[📦] Pulling images for version ${VERSION} ..." +echo "[📦] Pulling images for version ${APP_VERSION} ..." docker compose pull echo "[🎉] Success!" @@ -86,4 +87,4 @@ echo "Then start the local deployment with:" echo "" echo " docker compose up -d" echo "" -echo "Read about next steps online: https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/${VERSION}/installation/#next-steps" +echo "Read about next steps online: https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/${DOC_VERSION}/installation/#next-steps"