Files
ScreenShare/docker-compose.yml
T
2026-08-07 13:15:26 +08:00

37 lines
852 B
YAML

services:
livekit:
image: livekit/livekit-server:v1.9.10
command: --config /etc/livekit.yaml
volumes:
- ./infra/livekit/livekit.yaml:/etc/livekit.yaml:ro
environment:
LIVEKIT_KEYS: "${LIVEKIT_API_KEY}: ${LIVEKIT_API_SECRET}"
ports:
- "7880:7880"
- "7881:7881"
- "50000-50100:50000-50100/udp"
api:
build:
context: ./apps/ScreenShareApi
env_file: .env
environment:
PORT: 8080
LIVEKIT_API_KEY: ${LIVEKIT_API_KEY}
LIVEKIT_API_SECRET: ${LIVEKIT_API_SECRET}
LIVEKIT_PUBLIC_URL: ${LIVEKIT_PUBLIC_URL:-ws://localhost:7880}
depends_on:
- livekit
ports:
- "8080:8080"
web:
build:
context: ./apps/ScreenShareWeb
environment:
VITE_API_PROXY_TARGET: http://api:8080
depends_on:
- api
ports:
- "5173:5173"