2026-03-11 16:06:41 +01:00
|
|
|
services:
|
|
|
|
|
livekit:
|
|
|
|
|
image: livekit/livekit-server:latest
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
command: --config /etc/livekit.yaml
|
|
|
|
|
ports:
|
|
|
|
|
- "7880:7880"
|
|
|
|
|
- "7881:7881"
|
|
|
|
|
- "7882:7882/udp"
|
|
|
|
|
volumes:
|
|
|
|
|
# Copy livekit.example.yaml to livekit.yaml and set matching keys in .env before running.
|
|
|
|
|
- ./livekit.yaml:/etc/livekit.yaml:ro
|
|
|
|
|
|
|
|
|
|
server:
|
|
|
|
|
build: ./server
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
environment:
|
|
|
|
|
- CHGRID_AUTH_SECRET=${CHGRID_AUTH_SECRET}
|
|
|
|
|
- CHGRID_HOST_ORIGIN=${CHGRID_HOST_ORIGIN:-http://localhost}
|
|
|
|
|
- LIVEKIT_API_KEY=${LIVEKIT_API_KEY:-devkey}
|
|
|
|
|
- LIVEKIT_API_SECRET=${LIVEKIT_API_SECRET:-secret}
|
|
|
|
|
- LIVEKIT_URL=${LIVEKIT_URL:-ws://localhost:7880}
|
|
|
|
|
volumes:
|
|
|
|
|
- server-runtime:/app/runtime
|
|
|
|
|
depends_on:
|
|
|
|
|
- livekit
|
|
|
|
|
|
|
|
|
|
client:
|
2026-03-12 00:07:55 +01:00
|
|
|
build:
|
|
|
|
|
context: .
|
|
|
|
|
dockerfile: client/Dockerfile
|
2026-03-11 16:06:41 +01:00
|
|
|
restart: unless-stopped
|
2026-03-12 00:07:55 +01:00
|
|
|
environment:
|
|
|
|
|
- CHGRID_HOST_ORIGIN=${CHGRID_HOST_ORIGIN:-http://localhost}
|
|
|
|
|
- CHGRID_MEDIA_PROXY_SESSION_CHECK_URL=http://server:4474/auth/session/check
|
2026-03-11 16:06:41 +01:00
|
|
|
ports:
|
|
|
|
|
- "127.0.0.1:4474:80"
|
2026-03-12 16:55:00 +01:00
|
|
|
volumes:
|
|
|
|
|
- ./sounds/widgets:/usr/share/nginx/html/sounds/widgets
|
2026-03-11 16:06:41 +01:00
|
|
|
depends_on:
|
|
|
|
|
- server
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
server-runtime:
|