Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Jitsi-Auto-Config
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Armin Co
Jitsi-Auto-Config
Commits
257226a7
Commit
257226a7
authored
Oct 24, 2020
by
Armin Co
Browse files
Options
Downloads
Patches
Plain Diff
Update
parent
93779ee7
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
README.md
+8
-1
8 additions, 1 deletion
README.md
env.patch
+11
-0
11 additions, 0 deletions
env.patch
jitsi.subdomain.conf.example
+2
-2
2 additions, 2 deletions
jitsi.subdomain.conf.example
jitsi_setup.sh
+10
-5
10 additions, 5 deletions
jitsi_setup.sh
with
31 additions
and
8 deletions
README.md
+
8
−
1
View file @
257226a7
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.
This diff is collapsed.
Click to expand it.
env.patch
0 → 100644
+
11
−
0
View file @
257226a7
--- .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
This diff is collapsed.
Click to expand it.
jitsi.subdomain.conf.example
+
2
−
2
View file @
257226a7
...
@@ -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;
}
}
}
}
This diff is collapsed.
Click to expand it.
jitsi_setup.sh
100644 → 100755
+
10
−
5
View file @
257226a7
#!/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.de
e
/' .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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment