Hugging Chat R1

Here's a step-by-step guide to setting up Jitsi for voice chat using Docker Compose and integrating it with an existing Nginx Proxy Manager:

Prerequisites:

  1. Docker and Docker Compose installed on your system.
  2. An existing Nginx Proxy Manager setup (e.g., using the official Docker image).
  3. A domain name or subdomain for your Jitsi instance (e.g., meet.example.com).

Step 1: Create a new directory for Jitsi and navigate into it

mkdir jitsi-meet
cd jitsi-meet

Step 2: Create a docker-compose.yml file

version: '3'

services:
  web:
    image: jitsi/web:latest
    restart: always
    ports:
      - "8080:80"
    environment:
      - ENABLE_GUESTS=true
      - ENABLE_AUTH=false
    depends_on:
      - prosody

  prosody:
    image: jitsi/prosody:latest
    restart: always
    environment:
      - AUTH_TYPE=internal
      - ENABLE_GUESTS=true
    volumes:
      -./prosody-config:/config

  jvb:
    image: jitsi/jvb:latest
    restart: always
    ports:
      - "10000:10000/udp"
    environment:
      - DOCKER_HOST_ADDRESS=<your-server-ip>
    depends_on:
      - prosody

  jicofo:
    image: jitsi/jicofo:latest
    restart: always
    environment:
      - DOCKER_HOST_ADDRESS=<your-server-ip>
    depends_on:
      - prosody

Replace <your-server-ip> with the IP address of your server.

Step 3: Create a prosody-config directory and files

Create a new directory prosody-config inside the jitsi-meet directory:

mkdir prosody-config

Create a prosody.cfg.lua file inside the prosody-config directory:

-- Prosody configuration file
VirtualHost "meet.example.com"
    authentication = "internal_plain"
    ssl = {
        key = "/config/certs/meet.example.com.key";
        certificate = "/config/certs/meet.example.com.crt";
    }
    modules_enabled = {
        "bosh";
        "pubsub";
        "ping";
    }
    c2s_require_encryption = false

Replace meet.example.com with your domain or subdomain.

Step 4: Configure Nginx Proxy Manager

Create a new proxy host in your Nginx Proxy Manager:

  • Host: meet.example.com
  • Port: 8080
  • Protocol: http
  • SSL: on
  • SSL Certificate: Select the meet.example.com.crt file
  • SSL Key: Select the meet.example.com.key file

Step 5: Start Jitsi using Docker Compose

Start the Jitsi services using Docker Compose:

docker-compose up -d

This will start the Jitsi services in detached mode.

Step 6: Test Jitsi

Open a web browser and navigate to https://meet.example.com. You should see the Jitsi login page. You can create a new meeting or join an existing one.

That's it! You've successfully set up Jitsi for voice chat using Docker Compose and integrated it with your existing Nginx Proxy Manager.


This page was last edited on 2025-03-10 07:06

Powered by Wiki|Docs

This page was last edited on 2025-03-10 07:06

Mac
To whom it may concern

Powered by Wiki|Docs