docs: reorganize server setup instructions and create dedicated server README
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m6s
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m6s
This commit is contained in:
29
README.md
29
README.md
@@ -49,12 +49,12 @@ ufw allow 27107/tcp
|
||||
4. Start the Docker containers:
|
||||
```sh
|
||||
docker compose up \
|
||||
--pull missing \
|
||||
--pull always \
|
||||
--abort-on-container-exit
|
||||
```
|
||||
or in detached mode:
|
||||
```sh
|
||||
docker compose up --pull missing -d
|
||||
docker compose up --pull always -d
|
||||
```
|
||||
|
||||
The collector will start gathering WebRTC stats from the Selenium container and sending them to the Telegraf service.
|
||||
@@ -99,31 +99,6 @@ peertube-collector/
|
||||
└── webrtc-internals-exporter/
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
# 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.
|
||||
|
||||
## Setup
|
||||
|
||||
1. Change to the `server` directory:
|
||||
```sh
|
||||
cd server
|
||||
```
|
||||
|
||||
2. Create and configure the environment file based on the `.env.example` file:
|
||||
```sh
|
||||
cp .env.example .env
|
||||
```
|
||||
|
||||
3. Start the Docker containers:
|
||||
```sh
|
||||
docker compose up
|
||||
```
|
||||
|
||||
The WebUI control panel will be available at [http://localhost:8081](http://localhost:8081).
|
||||
|
||||
# Credits
|
||||
|
||||
- [WebRTC Internals Exporter](https://github.com/vpalmisano/webrtc-internals-exporter)
|
||||
|
Reference in New Issue
Block a user