Files
peertube-collector/server
mirko.milovanovic@studenti.unimi.it 8b35d3068b
All checks were successful
Build and Push Docker Image / build (push) Successful in 12m8s
Delete convert-to-ts.js
2025-03-30 17:47:17 +00:00
..
2025-03-30 17:47:17 +00:00

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