0% found this document useful (0 votes)
193 views

VIDEO GUIDE - How To Setup Jitsi in Docker With A Reverse Proxy - Page 4 - Docker Containers - Unraid

Uploaded by

kamarade
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
193 views

VIDEO GUIDE - How To Setup Jitsi in Docker With A Reverse Proxy - Page 4 - Docker Containers - Unraid

Uploaded by

kamarade
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

02/10/2022 11:07 VIDEO GUIDE ** How to Setup Jitsi in Docker with a Reverse Proxy ** - Page 4 - Docker Containers - Unraid

MENU






Home Community Guides Docker Containers VIDEO GUIDE ** How to Setup Jitsi in Docker with a Reve

VIDEO GUIDE ** HOW TO SETUP JITSI IN DOCKER WITH A


REVERSE PROXY **
By SpaceInvaderOne,

April 21, 2020 in Docker Containers

REPLY TO THIS TOPIC

 PREV 1 2 3 4 Page 4 of 4  

ello,
mTcurrently on the latest docker-compose and Jitsi docker image stack , if anyone trying to get Jitsi
ack
o up or up-to-date.
l
e
t
e
Posted
May
23

https://forums.unraid.net/topic/91383-video-guide-how-to-setup-jitsi-in-docker-with-a-reverse-proxy/page/4/ 1/14
02/10/2022 11:07 VIDEO GUIDE ** How to Setup Jitsi in Docker with a Reverse Proxy ** - Page 4 - Docker Containers - Unraid

removed the previous installed Jitsi docker images and removed the old appdata folder.
For me that was:
rm -r /mnt/user/appdata/jitsi

Once you have removed the previous Jitsi images/appdata folder.


perform the following and got the latest Jitsi docker image stack installed and running.
### First Install  docker compose (latest https://github.com/docker/compose/releases/
curl -L "https://github.com/docker/compose/releases/download/v2.5.1/docker-compos

### make file executable with command beneath


sudo chmod +x /usr/local/bin/docker-compose

### check version


docker-compose --version

### Install portainer as in the video using community applications


### Make directories in the appdata shares. Open terminal window on Unraid and paste below.

mkdir -p /mnt/user/appdata/jitsi/jitsi-meet-cfg/{web/letsencrypt,transcripts,pros

https://forums.unraid.net/topic/91383-video-guide-how-to-setup-jitsi-in-docker-with-a-reverse-proxy/page/4/ 2/14
02/10/2022 11:07 VIDEO GUIDE ** How to Setup Jitsi in Docker with a Reverse Proxy ** - Page 4 - Docker Containers - Unraid

mkdir -p /mnt/user/appdata/jitsi/github && cd /mnt/user/appdata/jitsi/github

### Pull down what's needed from github Download and extract the latest release. DO NOT clone
he git repository.
sudo wget https://github.com/jitsi/docker-jitsi-meet/archive/refs/tags/stable-728

### Edit the env.example file


nano env.example

### leave the passwords blank 

ocation of config.     CONFIG=/mnt/user/appdata/jitsi/jitsi-meet-cfg/

follow video for the rest.


### Copy env.example to working .env file
cp env.example .env

### Generate passwords (you don't need to know these as you don't use them yourself) 
gen-passwords.sh

### Install containers with docker compose up      


docker-compose up -d

### Login into portainer (see video)


### Change network to proxynet (delete other network)

same as video move/leave networks respectfully.


### Name the containers - see video

ocker-jitsi-meet-stable-7287-jicofo-1         TO   focus.meet.jitsi

ocker-jitsi-meet-stable-7287-jvb-1             TO   video.meet.jitsi

ocker-jitsi-meet-stable-7287-web-1           TO   meet.jitsi

ocker-jitsi-meet-stable-7287-prosody-1     TO   xmpp.meet.jitsi 

https://forums.unraid.net/topic/91383-video-guide-how-to-setup-jitsi-in-docker-with-a-reverse-proxy/page/4/ 3/14
02/10/2022 11:07 VIDEO GUIDE ** How to Setup Jitsi in Docker with a Reverse Proxy ** - Page 4 - Docker Containers - Unraid

### download the proxy config (edit if necessary) 

copy to the correct location - see video

estart letsencrypt proxy

Test by going to your domain. ie https://meet.yourdomain.com


### Secure the server
### Open a console window into the container xmpp.meet.jitsi
### Create auth user (see video)
prosodyctl --config /config/prosody.cfg.lua register username meet.jitsi password

### Restart xmpp.meet.jitsi container


### Your good to go !!
Remember if you make changes to it make sure to stop the 'stack'.

You can check out some of the new/extra features on that 'nano env.example' file.

Ctrl + O and Ctrl + X to save and exit.

And 'cp env.example .env' to transfer those changes. 


Hope this helps someone.

dited May 23 by Tolete

04 link - resolved.

 Quote

Replies Created Last Reply


84 2 yr Aug 19

 

https://forums.unraid.net/topic/91383-video-guide-how-to-setup-jitsi-in-docker-with-a-reverse-proxy/page/4/ 4/14
02/10/2022 11:07 VIDEO GUIDE ** How to Setup Jitsi in Docker with a Reverse Proxy ** - Page 4 - Docker Containers - Unraid

  On 5/23/2022 at 5:58 PM, Tolete said: 

up-to-date
Which
J portions are needed to update a running install?
ronare you saying we need to blow away what is there already and start fresh?
a
 t Quote
h
a
n
M
Posted
May
23

  On 5/23/2022 at 6:20 PM, JonathanM said: 

TWhich portions are needed to update a running install?



lOr are you saying we need to blow away what is there already and start fresh?
e
t docker-compose and the jitsi docker image stack needed updating.
The
e
Also noticed the official Jitsi self host guide points out NOT to clone github instead to download
Posted
rom
Maystable release.
23

So i just blew it away. I recommend doing the same.


dited May 23 by Tolete

pell-check

https://forums.unraid.net/topic/91383-video-guide-how-to-setup-jitsi-in-docker-with-a-reverse-proxy/page/4/ 5/14
02/10/2022 11:07 VIDEO GUIDE ** How to Setup Jitsi in Docker with a Reverse Proxy ** - Page 4 - Docker Containers - Unraid

 Quote

2 months later...

A On 5/23/2022 at 6:20 PM, JonathanM said:


  

aWhich portions are needed to update a running install?



iOr are you saying we need to blow away what is there already and start fresh?
n
eriously?  We have to do a fresh install every time this updates?  There has to be a better option,
y
o? 
c We can't use recreate in portainer or just docker compose over the old installation?
Posted
JulyQuote
25

Di,
am
d trying to run jitsi over a exteral nginx, but I haven't had luck so far, the idea at the end is
orward
a any service to the same nginx docker service. Any one have tested this?
ba412a7fbab5a1f7b3e874956971811583d702650
a
d
hanks,
Posted
July
26
 Quote

K
What do you mean?
it's "run a reverse proxy that can direct to either jitsi or other things" it's the standard way to do
.
it's "use the nginx instance that serves the Jitsi web frontent to serve something else" it's likely
oing to be a major pain, and the whole point of Docker is to avoid having to go through this by
aving multiple independent instances.
https://forums.unraid.net/topic/91383-video-guide-how-to-setup-jitsi-in-docker-with-a-reverse-proxy/page/4/ 6/14
02/10/2022 11:07 VIDEO GUIDE ** How to Setup Jitsi in Docker with a Reverse Proxy ** - Page 4 - Docker Containers - Unraid

K Quote
i

l
r
a
h
Posted
July
26

3 weeks later...

Ci Everyone, I had a Jitsi server running for almost a year and suddenly this error happened. I've
ried nuking the container and rebuild, but didn't work. I can get to Jitsi via <unraid local ip>:8000
utc my duckdns.org just puts me back to this error. I don't think it's a reverse proxy issue as the
web
a page header is correct, and that particular screen is unfamiliar compared to the nginx errors I've
een
p with other reverse proxy failures. Did a Jitsi update push some other sort of new
uthentication
n parameters? Does the reverse proxy conf file need new info that wasn't in the old
ne?
J I'm at a total loss.
i
P I understand that the docker isn't "controlled" by Unraid, but should i expect the proxynet ip
lso,
ddress
Postedto be visible here? This could be a docker-network dns issue if the IPs are supposed to be
osted
Augusthere...?
13

https://forums.unraid.net/topic/91383-video-guide-how-to-setup-jitsi-in-docker-with-a-reverse-proxy/page/4/ 7/14
02/10/2022 11:07 VIDEO GUIDE ** How to Setup Jitsi in Docker with a Reverse Proxy ** - Page 4 - Docker Containers - Unraid

 Quote

Croblems.
o, I figured it out: Corporate IT was blocking my "DynamicDNS host" as suspicious. No more

c I learned a lot about docker-compose and thought I would add to a previous post as a more up-
UT,
a guide to rjlan's guide to updating jitsi, plus a guide this simplified is something I sorely
o-date
p starting out:
eeded
n
JEvery time unraid reboots, you will need to re-install docker-compose, here's how to do the latest
i
ev:P
 Posted
Find latest build at github: https://github.com/docker/compose/releases/
August
141. scroll to your relevant hardware (for me it's linux x86_64)
2. right click > save link for "linux x86_64"
3. open unraid terminal window
4. modify the following code to have your copied link, usually easiest to make changes in a
separate text editor then copy/paste into command line:

curl -L “yourlinkhere-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

https://forums.unraid.net/topic/91383-video-guide-how-to-setup-jitsi-in-docker-with-a-reverse-proxy/page/4/ 8/14
02/10/2022 11:07 VIDEO GUIDE ** How to Setup Jitsi in Docker with a Reverse Proxy ** - Page 4 - Docker Containers - Unraid

Back-up previous env.example and docker-compose.yml. this is just in case things go sideways and
ou need to refer back to something.
  In the unraid terminal:
cd /mnt/user/appdata/jitsi/github/

cp ./docker-jitsi-meet-stable-7648/env.example ./env.example.bkup

cp ./docker-jitsi-meet-stable-7648/docker-compose.yml ./docker-compose.yml.bkup

note, your "docker-jitsi-meet-*" will likely be different, tab is your friend in the command line)
a: remove old docker (Not necessary. But if you have to, here it is)
sudo docker stop video.meet.jitsi focus.meet.jitsi xmpp.meet.jitsi meet.jitsi

sudo rm -r /mnt/user/appdata/jitsi/jitsi-meet-cfg/

mkdir -p /mnt/user/appdata/jitsi/jitsi-meet-cfg/{web,web/crontabs,transcripts,pro

: Now we get the jitsi docker:


1. Similar to docker compose, we need to find the latest build from github. Under the "Assets"
section, right click and save link for the "Source Code (tar.gz)"
2. Modify the following command to paste in your link from above:
sudo wget https://github.com/jitsi/docker-jitsi-meet/archive/refs/tags/stabl

Please note the context here. There are 3 functions happening in one command: we are
"getting" the source code at the link address && we are decompressing the tar.gz file &&
changing directory to the freshly decompressed directory. All 3 of these functions need to be
updated to the appropriate version number or syntax to match the github link.
V: Modification of Files - Simplify this deployment and don't fuss in portainer!
1. Since the video was released, the env.example file has been simplified, so follow the video, but
understand that some options are moved elsewhere. Don't worry about it.
nano ./env.example

1. update CONFIG= directory (note, leave off trailing "/", it becomes redundant with this
version of the .yml file)
2. Timezone
3. Public URL
4. Docker_Host_address
5. Enable auth=1      (recommended)
https://forums.unraid.net/topic/91383-video-guide-how-to-setup-jitsi-in-docker-with-a-reverse-proxy/page/4/ 9/14
02/10/2022 11:07 VIDEO GUIDE ** How to Setup Jitsi in Docker with a Reverse Proxy ** - Page 4 - Docker Containers - Unraid

6. Enable_guest=1     (recommended)
7. Auth_type=internal       (recommended)
8. ctl+x to exit, "y" to save
9. copy env.example to .env
cp env.example .env

 
2. Modify the docker-compose.yml to tidy things up and make life much easier
nano ./docker-compose.yml

1. Under each section add line at top: container_name: (web=meet.jitsi


prosody=xmpp.meet.jitsi  jicofo=focus.meet.jitsi, jvb=video.meet.jitsi) See attached photo
below #1

2. Under "network" at bottom, add: name: external: See attached photo below #2

3.

3. Create passwords:
gen-passwords.sh

1.  
4. DEPLOY!
docker-compose pull

docker-compose up -d --remove-orphans

docker image prune

5. Set up Authentication again (stored in xmpp.meet.jitsi somewhere, so it gets overwritten)


1.  Open a terminal to the xmpp.meet.jitsi container:
prosodyctl --config /config/prosody.cfg.lua register username meet.jitsi

overwrite "username" and "password" with relevant information

https://forums.unraid.net/topic/91383-video-guide-how-to-setup-jitsi-in-docker-with-a-reverse-proxy/page/4/ 10/14
02/10/2022 11:07 VIDEO GUIDE ** How to Setup Jitsi in Docker with a Reverse Proxy ** - Page 4 - Docker Containers - Unraid

nfortunately unraid will still show an update available, as the docker isn't "controlled" by unraid's
ommunity Applications.

dited August 15 by capnJiP

ackup file command started in wrong directory, corrected.

 Quote

K On 8/14/2022 at 9:39 PM, capnJiP said:


  

KI: Every time unraid reboots, you will need to re-install docker-compose
ouil don't need that, there's the compose manager plugin now. Manages Compose installation and
our
r stacks all in the GUI.
a
h
Posted
August
14

https://forums.unraid.net/topic/91383-video-guide-how-to-setup-jitsi-in-docker-with-a-reverse-proxy/page/4/ 11/14
02/10/2022 11:07 VIDEO GUIDE ** How to Setup Jitsi in Docker with a Reverse Proxy ** - Page 4 - Docker Containers - Unraid

[Plugin] Docker Compose Manager


P 
October 3, 2021

Compose Manager Beta Release! This plugin installs docker


compose and compose switch. Use
"docker compose" or "docker-compose" from the command line.…


10
 134 replies

dited August 14 by Kilrah

 Quote

A
s there a reason why we cannot modify the steps to install jitsi using the ones from A75G's
epository?  If it can work, the benefit is that they can be updated through unraid's built-in docker
kea all other containers.
v
vei tried to merge the instructions from this tutorial, but I doubt that is the correct approach.  If
nyone
n can share insight or has been able to set up jitsi that can be updated that way, I'd love to
now.
y
c
IA!Posted
August
19 Quote

 PREV 1 2 3 4 Page 4 of 4  

JOIN THE CONVERSATION


https://forums.unraid.net/topic/91383-video-guide-how-to-setup-jitsi-in-docker-with-a-reverse-proxy/page/4/ 12/14
02/10/2022 11:07 VIDEO GUIDE ** How to Setup Jitsi in Docker with a Reverse Proxy ** - Page 4 - Docker Containers - Unraid

You can post now and register later.


If you have an account, sign in now to post with your
account.

Note: Your post will require moderator approval before it will be visible.

 Reply to this topic...

Followers 6

 Go to topic listing

Home Community Guides Docker Containers VIDEO GUIDE ** How to Setup Jitsi in Docker wit 

Theme 
Powered by Invision Community

Unraid Resources
PRODUCT APPS
PRICING DOCUMENTATION
COMMUNITY FORUM
MERCH SHOP REPLACE REGISTRATION KEY

Company
ABOUT
CONTACT US
NEWS
POLICIES

Newsletter Sign Up
https://forums.unraid.net/topic/91383-video-guide-how-to-setup-jitsi-in-docker-with-a-reverse-proxy/page/4/ 13/14
02/10/2022 11:07 VIDEO GUIDE ** How to Setup Jitsi in Docker with a Reverse Proxy ** - Page 4 - Docker Containers - Unraid

Email Address SUBSCRIBE

Copyright © 2005-2022 Lime Technology, Inc.

Unraid® is a registered trademark of Lime Technology, Inc.

https://forums.unraid.net/topic/91383-video-guide-how-to-setup-jitsi-in-docker-with-a-reverse-proxy/page/4/ 14/14

You might also like