Files
peertube-collector/server

Server

The repository contains a server directory with a simple MongoDB server (with initializations scripts) and WebUI that serves the WebRTC stats collected by the collector.

It's not mandatory to run and use this service, it's provided just as an example of how to store collected data.

Setup

  1. Change to the server directory:

    cd server
    
  2. Create and configure the environment file based on the .env.example file:

    cp .env.example .env
    
  3. Start the Docker containers:

    docker compose up
    

The WebUI control panel will be available at http://localhost:8081.

Credits