Install Jitsi Meet Using Docker In Ubuntu 18.04

First, you need to check your OS kernel is generic or not. Follow the below tutorial

Then install Docker and docker-compose follow the below tutorial

Then follow the below command

git clone https://github.com/jitsi/docker-jitsi-meet && cd docker-jitsi-meet

cp env.example .env

./gen-passwords.sh

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

docker -v
docker-compose -v

Docker-compose minimum version 2 or docker version must be 1.10.0+

nano .env

Edit basic configuration options like below, change your-domain.com to your actual domain name and 192.168.1.1 to your public IP

# Directory where all configuration will be stored
CONFIG=~/.jitsi-meet-cfg

# Exposed HTTP port
HTTP_PORT=80

# Exposed HTTPS port
HTTPS_PORT=443

# System time zone
TZ=Asia/Dubai

# Public URL for the web service (required)
PUBLIC_URL=https://your-domain.com

# IP address of the Docker host
# See the "Running behind NAT or on a LAN environment" section in the Handbook:
# https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-docker#running-behind-nat-or-on-a-lan-environment
DOCKER_HOST_ADDRESS=192.168.1.1

# Enable Let's Encrypt certificate generation
ENABLE_LETSENCRYPT=1

# Domain for which to generate the certificate
LETSENCRYPT_DOMAIN=your-domain.com

# E-Mail for receiving important account notifications (mandatory)
LETSENCRYPT_EMAIL=mail@address.com

Enable authentication optional

# Enable authentication
ENABLE_AUTH=1

# Enable guest access
ENABLE_GUESTS=1

# Select authentication type: internal, jwt or ldap
AUTH_TYPE=internal

Edit XMPP module. Change your-domain.com with your actual domain

# Internal XMPP domain
XMPP_DOMAIN=your-domain.com

# Internal XMPP server
XMPP_SERVER=xmpp.your-domain.com

# Internal XMPP server URL
XMPP_BOSH_URL_BASE=http://xmpp.your-domain.com:5280

# Internal XMPP domain for authenticated services
XMPP_AUTH_DOMAIN=auth.your-domain.com

# XMPP domain for the MUC
XMPP_MUC_DOMAIN=muc.your-domain.com

# XMPP domain for the internal MUC used for jibri, jigasi and jvb pools
XMPP_INTERNAL_MUC_DOMAIN=internal-muc.your-domain.com

# XMPP domain for unauthenticated users
XMPP_GUEST_DOMAIN=guest.your-domain.com

# Custom Prosody modules for XMPP_DOMAIN (comma separated)
XMPP_MODULES=info.alert

# Custom Prosody modules for MUC component (comma separated)
XMPP_MUC_MODULES=info.alert

# Custom Prosody modules for internal MUC component (comma separated)
XMPP_INTERNAL_MUC_MODULES=info.alert

Save the file, then run the below command

docker-compose up -d

Leave a Reply