更新 deploy/docker-compose.dev.yml

This commit is contained in:
2026-05-16 20:54:44 +08:00
parent 3bdd810301
commit b347b44473

View File

@@ -87,7 +87,7 @@ services:
build: build:
context: ../media-server context: ../media-server
dockerfile: Dockerfile dockerfile: Dockerfile
network_mode: host network_mode: host
container_name: echochat-media-server container_name: echochat-media-server
environment: environment:
HTTP_HOST: 0.0.0.0 HTTP_HOST: 0.0.0.0
@@ -102,11 +102,11 @@ services:
MEDIASOUP_RTC_MAX_PORT: ${MEDIASOUP_RTC_MAX_PORT:-30199} MEDIASOUP_RTC_MAX_PORT: ${MEDIASOUP_RTC_MAX_PORT:-30199}
MEDIASOUP_WORKER_LOG_LEVEL: warn MEDIASOUP_WORKER_LOG_LEVEL: warn
MEDIASOUP_MAX_ROUTERS: "200" MEDIASOUP_MAX_ROUTERS: "200"
ports: #ports:
- "3300:3300" # - "3300:3300"
# mediasoup RTC 流量端口范围UDP + TCP 双栈ICE-TCP fallback 用) # mediasoup RTC 流量端口范围UDP + TCP 双栈ICE-TCP fallback 用)
- "30000-30199:40000-40199/udp" # - "30000-30199:40000-40199/udp"
- "30000-30199:40000-40199/tcp" # - "30000-30199:40000-40199/tcp"
healthcheck: healthcheck:
test: ["CMD", "curl", "-fsS", "http://127.0.0.1:3300/healthz"] test: ["CMD", "curl", "-fsS", "http://127.0.0.1:3300/healthz"]
interval: 10s interval: 10s