tag(功能):功能跑通
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user