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

Fixing tools

parent a56086b8
Branches
Tags
No related merge requests found
...@@ -26,32 +26,32 @@ DOCKER_COMPOSE_FILES=$base_compose_file ...@@ -26,32 +26,32 @@ DOCKER_COMPOSE_FILES=$base_compose_file
# Letsencrypt # Letsencrypt
letsencrypt_compose_file=" -f letsencrypt-webserver/docker-compose.yml " letsencrypt_compose_file=" -f letsencrypt-webserver/docker-compose.yml "
DOCKER_COMPOSE_FILES+=$letsencrypt_compose_file $DOCKER_COMPOSE_FILES+=$letsencrypt_compose_file
LETSENCRYPT_DIR=letsencrypt-webserver LETSENCRYPT_DIR=letsencrypt-webserver
LETSENCRYPT_URL="$GIT_URL$LETSENCRYPT_DIR".git LETSENCRYPT_URL="$GIT_URL$LETSENCRYPT_DIR".git
# Jitsi # Jitsi
JITSI_DIR=jitsi-auto-config JITSI_DIR=jitsi-auto-config
JITSI_URL="$GIT_URL$JITSI_DIR".git JITSI_URL="$GIT_URL$JITSI_DIR".git
if ["$USE_JITSI" = "true"]; then if [ "$USE_JITSI" == "true" ]; then
jitsi_compose_file=" -f jitsi/docker-compose.yml " jitsi_compose_file=" -f jitsi/docker-compose.yml "
DOCKER_COMPOSE_FILES+=$jitsi_compose_file $DOCKER_COMPOSE_FILES+=$jitsi_compose_file
SUB_DOMAINS+="jitsi," SUB_DOMAINS+="jitsi,"
fi fi
# noVNC - Screen sharing with VNC # noVNC - Screen sharing with VNC
NOVNC_DIR=novnc NOVNC_DIR=novnc
NOVNC_URL="$GIT_URL$NOVNC_DIR".git NOVNC_URL="$GIT_URL$NOVNC_DIR".git
if ["$USE_NO_VNC" = "true"]; then if [ "$USE_NO_VNC" == "true" ]; then
novnc_compose_file=" -f ./novnc/docker-compose.yml " novnc_compose_file=" -f ./novnc/docker-compose.yml "
DOCKER_COMPOSE_FILES+=$novnc_compose_file $DOCKER_COMPOSE_FILES+=$novnc_compose_file
fi fi
# Mumble # Mumble
MUMBLE_DIR=build-mumble-web MUMBLE_DIR=build-mumble-web
MUMBLE_URL=https://github.com/Johni0702/mumble-web.git MUMBLE_URL=https://github.com/Johni0702/mumble-web.git
if ["$USE_MUMBLE" = "true"]; then if [ "$USE_MUMBLE" == "true" ]; then
mumble_compose_file=" -f ./build-mumble-web/docker-compose.production.yml" mumble_compose_file=" -f ./build-mumble-web/docker-compose.production.yml"
DOCKER_COMPOSE_FILES+=$mumble_compose_file $DOCKER_COMPOSE_FILES+=$mumble_compose_file
SUB_DOMAINS+="mumble-web" SUB_DOMAINS+="mumble-web"
fi fi
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
# start/restart all containers # start/restart all containers
source config.sh source config.sh
docker-compose $docker_compose_files up -d docker-compose $DOCKER_COMPOSE_FILES up -d
\ No newline at end of file \ No newline at end of file
#!/bin/bash #!/bin/bash
source config.sh source config.sh
docker-compose $docker_compose_files down docker-compose $DOCKER_COMPOSE_FILES down
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment