Skip to content

Jitsi self hosting

Self-Hosting Jitsi using Docker Compose

Quick start

In order to quickly run Jitsi Meet on a machine running Docker and Docker Compose, follow these steps:

| run these commands on the host/server you wish to install jisti into

Download and extract the latest release. DO NOT clone the git repository. See #references below if you are interested in running test images.

Download only from github.com/jitsi/docker-jitsi-meet/releases/

( change these to suite your needs, do not copy them. )

export KOAD_IO_ENTITY=hazes
export JITZI_RELEASE_VERSION=7001
export JITSI_RELEASE_TARBALL=https://github.com/jitsi/docker-jitsi-meet/archive/refs/tags/stable-$JITZI_RELEASE_VERSION.tar.gz
export JITSI_INSTALL_DIRECTORY=/home/koad/$KOAD_IO_ENTITY/sites/jitsi.hazes.ws

make the folders needed

mkdir -p $JITSI_INSTALL_DIRECTORY/src
mkdir -p $JITSI_INSTALL_DIRECTORY/archive

cd $JITSI_INSTALL_DIRECTORY/archive && wget $JITSI_RELEASE_TARBALL
tar -xvzf stable-$JITZI_RELEASE_VERSION.tar.gz && mv docker-jitsi-meet-stable-$JITZI_RELEASE_VERSION src && mv src $JITSI_INSTALL_DIRECTORY/

Create a .env file by copying and adjusting env.example:

cd $JITSI_INSTALL_DIRECTORY/src && cp env.example .env

Set strong passwords in the security section options of .env file by running the following bash script

./gen-passwords.sh

Create required CONFIG directories

For linux:

mkdir -p ~/.jitsi-meet-cfg/{web/crontabs,web/letsencrypt,transcripts,prosody/config,prosody/prosody-plugins-custom,jicofo,jvb,jigasi,jibri}

For Windows:

echo web/crontabs,web/letsencrypt,transcripts,prosody/config,prosody/prosody-plugins-custom,jicofo,jvb,jigasi,jibri | % { mkdir "~/.jitsi-meet-cfg/$_" }

Run docker-compose up -d
docker-compose -f docker-compose.yml -f jigasi.yml up

Access the web UI at https://localhost:8443 (or a different port, in case you edited the compose file).

Note that HTTP (not HTTPS) is also available (on port 8000, by default), but that's e.g. for a reverse proxy setup; direct access via HTTP instead HTTPS leads to WebRTC errors such as Failed to access your microphone/camera: Cannot use microphone/camera for an unknown reason. Cannot read property 'getUserMedia' of undefined or navigator.mediaDevices is undefined.

If you want to use jigasi too, first configure your env file with SIP credentials and then run Docker Compose as follows:

```bash
docker-compose -f docker-compose.yml -f jigasi.yml up

If you want to enable document sharing via Etherpad, configure it and run Docker Compose as follows:

docker-compose -f docker-compose.yml -f etherpad.yml up

If you want to use jibri too, first configure a host as described in JItsi BRoadcasting Infrastructure configuration section and then run Docker Compose as follows:

docker-compose -f docker-compose.yml -f jibri.yml up -d

or to use jigasi too:

docker-compose -f docker-compose.yml -f jigasi.yml -f jibri.yml up -d

Reference

Self-Hosting Guide - Docker
testing-development-builds

Back to top