Docker installation
Beschreibung:
Installation via Docker und Lets encyrpt.
Das Image hat den certbot schon drin, so das wir keinen Certbot Conatiner brauchen.
Installtion
mkdircd /root/jitsi
Abbhängigkeiten installieren
apt install docker.io docker-compose apparmor unzip curl
Jitsti zip downloaden
LATEST_VERSION=$(curl --silent https://api.github.com/repos/jitsi/docker-jitsi-meet/releases/latest | grep -Po '"tag_name": "\K.*\d')
wget https://github.com/jitsi/docker-jitsi-meet/archive/refs/tags/${LATEST_VERSION}.zip
Nun unzippen
unzip ${LATEST_VERSION}.zip
Verzeichnis in jitsi umbenennen
mv docker-jitsi-meet-${LATEST_VERSION} jitsi
.env Datei erstellen und passwörter generieren
cd jitsi && cp env.example .env
./gen-passwords.sh
Die .env für Letsencrypt etc bearbeiten
nano /root/jitsi/.env
InhaltDiese zeilen anpassen
#HTTP_PORT=80
JitsiHTTPS_PORT=443
KonfigurationenTZ=Europe/Berlin
JITSI_DOMAIN=PUBLIC_URL=https://jitsi.example.com # E-Mail<== fürYour Letsdomaine Encryptname here
ENABLE_LETSENCRYPT=1
LETSENCRYPT_DOMAIN=jitsi.example.com# <== Your domaine name here
LETSENCRYPT_EMAIL=your-email@example.mail@example.com
# Jitsi Videobridge Authentifizierungspasswort
JVB_AUTH_PASSWORD=yourJvbPassword
# Jicofo Authentifizierungspasswort
JICOFO_AUTH_PASSWORD=yourJicofoPasswordComposer Datei
nano /root/jitsi/docker-compose.yml
Inhalt
version: '3.2'
services:
# Jitsi Web Service
web:
image: jitsi/web:stable
restart: unless-stopped
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
restart: unless-stopped
environment:
- JITSI_DOMAIN=${JITSI_DOMAIN}
- JVB_AUTH_PASSWORD=${JVB_AUTH_PASSWORD}
- XMPP_DOMAIN=prosody
- XMPP_SERVER=prosody
volumes:
- ./jvb:/config:Z
depends_on:
- prosody
# Jitsi Focus Component
jicofo:
image: jitsi/jicofo:stable
restart: unless-stopped
volumes:
- ./jicofo:/config:Z
environment:
- JICOFO_AUTH_PASSWORD=${JICOFO_AUTH_PASSWORD}
depends_on:
- prosody
# Prosody XMPP Server
prosody:
image: jitsi/prosody:stable
restart: unless-stopped
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 -d
Um den container status zu sehen.
docker-compose logs -f