Skip to content
Snippets Groups Projects
Commit 0e0408c1 authored by Armin Co's avatar Armin Co
Browse files

Fiux update script.

parent c3325f7d
No related branches found
No related tags found
No related merge requests found
...@@ -15,10 +15,7 @@ function remove_all_configs() { ...@@ -15,10 +15,7 @@ function remove_all_configs() {
# Clone repositories # Clone repositories
function clone_repositories() { function clone_repositories() {
git clone $LETSENCRYPT_URL git clone $LETSENCRYPT_URL
git clone $JITSI_URL
git clone $NOVNC_URL
git clone $MUMBLE_URL
wait
} }
function configure_letsencrypt() { function configure_letsencrypt() {
...@@ -66,11 +63,22 @@ echo "" ...@@ -66,11 +63,22 @@ echo ""
remove_all_configs remove_all_configs
clone_repositories clone_repositories
if [ "$USE_JITSI" == "true" ]; then
git clone $JITSI_URL
./"JITSI_DIR"/setup.sh
fi
configure_letsencrypt configure_letsencrypt
if [ "$USE_MUMBLE" == "true" ];then if [ "$USE_MUMBLE" == "true" ];then
git clone $MUMBLE_URL
configure_mumble configure_mumble
fi fi
if [ "$USE_NOVNC" == "true" ];then
git clone $NOVNC_URL
fi
./tools/stop_containers.sh ./tools/stop_containers.sh
./tools/update_containers.sh ./tools/update_containers.sh
\ No newline at end of file
...@@ -14,11 +14,11 @@ echo "Building images" ...@@ -14,11 +14,11 @@ echo "Building images"
echo "" echo ""
# Build new images if neccessary # Build new images if neccessary
if [$USE_MUMBLE = "true"]; then if [ "$USE_MUMBLE" == "true" ]; then
docker-compose -f $mumble_compose_file build docker-compose -f $mumble_compose_file build
fi fi
if [$USE_NOVNC = "true"]; then if [ "$USE_NOVNC" == "true" ]; then
docker-compose -f $novnc_compose_file build docker-compose -f $novnc_compose_file build
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment