Add Docker support and update requirements for data collection and visualization

This commit is contained in:
2025-02-05 01:44:39 +01:00
parent df0cbaffbd
commit ad97310d7e
11 changed files with 92 additions and 16 deletions

View File

@@ -0,0 +1,41 @@
services:
selenium:
container_name: selenium-standalone-chromium
image: selenium/standalone-chromium:129.0
ports:
- "7900:7900"
volumes:
- ./webrtc-internals-exporter:/tmp/webrtc-internals-exporter:ro
shm_size: "2g"
attach: false
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:4444/wd/hub/status"]
interval: 5s
timeout: 10s
retries: 5
networks:
- backend
telegraf:
container_name: telegraf
image: telegraf:1.33.1
volumes:
- ./telegraf.conf:/etc/telegraf/telegraf.conf:ro
networks:
- backend
collector:
container_name: collector
build:
context: .
dockerfile: Dockerfile
depends_on:
selenium:
condition: service_healthy
telegraf:
condition: service_started
networks:
- backend
networks:
backend: