diff --git a/README.md b/README.md index 9c7178732d858504b1600eba96107ed3cecdc892..564283496306046bf3b7d473d9524fa5490422f9 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Collection of online tools for teaching at CVH. ### Prerequisites - Docker-CE - - Installation script ('install_docker.sh') is provided for current Ubuntu installations. + - Installation script (`install_docker.sh`) is provided for current Ubuntu installations. For other distributions look for installation instructions at [Install Docker Engine](https://docs.docker.com/engine/install/) - Docker Compose - Will also be installed with the script for Docker-CE diff --git a/config.sh b/config.sh index d2bf5af4882a031aea2dee616f4189659d4ddcc3..cf162761bc5e9a4bf3ecb792708df92c8cf20f46 100755 --- a/config.sh +++ b/config.sh @@ -11,7 +11,7 @@ SUB_DOMAINS="" MAIL=test@armin-co.de USE_JITSI="true" -USE_NO_VNC="false" +USE_NO_VNC="true" USE_MUMBLE="false" # Git diff --git a/configure_once.sh b/setup.sh similarity index 92% rename from configure_once.sh rename to setup.sh index 5ca00859151001e228df866368aeeb39f7a8c606..79b5eb591afe913fac51fe507ee0c67b11066ad0 100755 --- a/configure_once.sh +++ b/setup.sh @@ -29,10 +29,10 @@ function configure_letsencrypt() { # Adds your domain to docker-compose sed -i "s/your-domain.com/$DOMAIN/" $le_compose # Adds the list of subdomains to use to docker-compose - sed -i "s/your_subdomains/$sub_domains/" $le_compose + sed -i "s/your_subdomains/$SUB_DOMAINS/" $le_compose # Add E-Mail address that will be used to notify you # about for example expiring certificates. - sed -i "s/your_email/$mail/" $le_compose + sed -i "s/your_email/$MAIL/" $le_compose # For using not only your subdomains uncomment the following line. # sed -i "s/- ONLY_SUBDOMAINS=true/- ONLY_SUBDOMAINS=false/" $LETSENCRYPT_DIR @@ -67,8 +67,10 @@ remove_all_configs clone_repositories configure_letsencrypt -configure_mumble +if [ "$USE_MUMBLE" == "true" ];then + configure_mumble +fi ./tools/stop_containers.sh ./tools/update_containers.sh \ No newline at end of file