Direkt zum Hauptinhalt

Docker installation

Beschreibung:

Installation via Docker und Lets encyrpt.
Das Image hat den certbot schon drin, so das wir keinen Certbot Conatiner brauchen.

Installtion

mkdir /root/jitsi

Abbhängigkeiten installieren

apt install docker.io docker-compose apparmor

.env Datei

nano /root/jitsi/.env

Inhalt

# Jitsi Konfigurationen
JITSI_DOMAIN=jitsi.example.com
# E-Mail für Lets Encrypt
LETSENCRYPT_EMAIL=your-email@example.com
# Jitsi Videobridge Authentifizierungspasswort
JVB_AUTH_PASSWORD=yourJvbPassword
# Jicofo Authentifizierungspasswort
JICOFO_AUTH_PASSWORD=yourJicofoPassword

Composer Datei

nano /root/jitsi/docker-compose.yml

Inhalt

version: '3.2'

services:
  # Jitsi Web Service
  web:
    image: jitsi/web:stable
    environment:
      - ENABLE_LETSENCRYPT=1
      - LETSENCRYPT_DOMAIN=${JITSI_DOMAIN}
      - LETSENCRYPT_EMAIL=${LETSENCRYPT_EMAIL}
      - ENABLE_AUTH=1
      - ENABLE_GUESTS=1
    volumes:
      - ./web:/config:Z
      - /etc/letsencrypt:/etc/letsencrypt:Z
    ports:
      - '80:80'
      - '443:443'
    depends_on:
      - prosody
      - jicofo
      - jvb

  # Jitsi Videobridge
  jvb:
    image: jitsi/jvb:stable
    environment:
      - JITSI_DOMAIN=${JITSI_DOMAIN}
      - JVB_AUTH_PASSWORD=${JVB_AUTH_PASSWORD}
    volumes:
      - ./jvb:/config:Z
    depends_on:
      - prosody

  # Jitsi Focus Component
  jicofo:
    image: jitsi/jicofo:stable
    volumes:
      - ./jicofo:/config:Z
    environment:
      - JICOFO_AUTH_PASSWORD=${JICOFO_AUTH_PASSWORD}
    depends_on:
      - prosody

  # Prosody XMPP Server
  prosody:
    image: jitsi/prosody:stable
    environment:
      - ENABLE_AUTH=1
      - AUTH_TYPE=internal_plain
      - JITSI_DOMAIN=${JITSI_DOMAIN}
      - JVB_AUTH_USER=jvb
      - JVB_AUTH_PASSWORD=${JVB_AUTH_PASSWORD}
      - JICOFO_AUTH_USER=focus
      - JICOFO_AUTH_PASSWORD=${JICOFO_AUTH_PASSWORD}
    volumes:
      - ./prosody:/config:Z

Container Starten ohne -d um Fehler zu sehen

docker-compose up

Benutzer anlegen