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

Update

parent 93779ee7
No related branches found
No related tags found
No related merge requests found
Scripts to insall jitsi with just a few parameters that must be set. # Jitsi-Meet auto configuration
\ No newline at end of file
An install script to install jitsi meet for docker-compose.
## Usage
Run this script from the location you will run your containers,
because of the placement of the `.env` file for docker-compose.
--- .env 2020-10-24 17:14:09.939893878 +0000
+++ .env_update 2020-10-24 17:18:03.743000000 +0000
@@ -45,7 +45,7 @@
TZ=UTC
# Public URL for the web service (required)
-#PUBLIC_URL=https://meet.example.com
+PUBLIC_URL=https://jitsi.armin-co.de
# IP address of the Docker host
# See the "Running behind NAT or on a LAN environment" section in the README
...@@ -52,8 +52,8 @@ server { ...@@ -52,8 +52,8 @@ server {
location / { location / {
include /config/nginx/proxy.conf; include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s; resolver 127.0.0.11 valid=30s;
set $upstream_playground_web_1 playground_web_1; set $upstream_jitsi jitsi_web;
proxy_max_temp_file_size 2048m; proxy_max_temp_file_size 2048m;
proxy_pass http://$upstream_playground_web_1:80; proxy_pass http://$upstream_jitsi:80;
} }
} }
jitsi_setup.sh 100644 → 100755
#!/bin/bash #!/bin/bash
# Directory of local Jitsi repository # Directory of local Jitsi repository
jitsi_dir="jitsi" jitsi_dir=jitsi
# URL of the Jitsi repository. # URL of the Jitsi repository.
jitsi_repository="https://github.com/jitsi/docker-jitsi-meet" jitsi_repository="https://github.com/jitsi/docker-jitsi-meet"
...@@ -18,16 +18,18 @@ make_config_dirs() { ...@@ -18,16 +18,18 @@ make_config_dirs() {
set_individual_settings(){ set_individual_settings(){
# change docker-compose environment variables # change docker-compose environment variables
# to preconfigure jitsi # to preconfigure jitsi
sed -i 's/^CONFIG=.*/CONFIG=.\/jitsi\/.jitsi-meet-cfg/' .env # sed -i 's/^CONFIG=.*/CONFIG=.\/jitsi\/.jitsi-meet-cfg/' .env
sed -i 's/^#PUBLIC_URL=.*/PUBLIC_URL=https:\/\/meet.armin-co.de/' .env # sed -i 's/^#PUBLIC_URL=.*/PUBLIC_URL=https:\/\/meet.armin-co.dee/' .env
sed -i "s/^version:.*/version: '3.4'/" docker-compose.yml # sed -i "s/^version:.*/version: '3.4'/" docker-compose.yml
# sed "s/^services*/aösldkjf/" docker-compose.yml
# sed "s/^services/a \ \networks:\n\ \- letsencrypt/" docker-compose.yml
# sed -i '/image: jitsi\/web:latest/a container_name: jitsi_web_frontend' docker-compose.yml # sed -i '/image: jitsi\/web:latest/a container_name: jitsi_web_frontend' docker-compose.yml
echo "Edited config." echo "Edited config."
} }
# "main" ## MAIN
# setup/install jitsi meet # setup/install jitsi meet
# Pull or clone repository # Pull or clone repository
...@@ -58,6 +60,9 @@ make_config_dirs ...@@ -58,6 +60,9 @@ make_config_dirs
set_individual_settings set_individual_settings
patch .env env.patch
# Move environment variables # Move environment variables
# to the correct position # to the correct position
# for docker-compose # for docker-compose
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment