feat: update docker-compose and service configurations for improved connectivity

This commit is contained in:
2025-02-05 23:37:49 +01:00
parent 9d79cecb01
commit 4aa164d148
3 changed files with 9 additions and 7 deletions

View File

@@ -2,8 +2,6 @@ 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"
@@ -13,8 +11,7 @@ services:
interval: 5s
timeout: 10s
retries: 5
networks:
- backend
network_mode: host
telegraf:
container_name: telegraf
@@ -30,7 +27,7 @@ services:
collector:
container_name: collector
image: gitea.kobim.cloud/kobim/peertube-collector
#image: gitea.kobim.cloud/kobim/peertube-collector
build:
context: .
dockerfile: Dockerfile
@@ -41,6 +38,10 @@ services:
condition: service_started
environment:
- VIDEO_URL=${VIDEO_URL:?"Video URL is required"}
ports:
- "9092:9092"
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- backend