27 lines
875 B
YAML
27 lines
875 B
YAML
services:
|
|
auth-service:
|
|
image: ghcr.io/element-hq/lk-jwt-service:latest
|
|
container_name: element-call-jwt
|
|
hostname: auth-server
|
|
environment:
|
|
- LIVEKIT_URL=https://matrixrtc.example.com/livekit/sfu #Change
|
|
- LIVEKIT_KEY=devkey
|
|
- LIVEKIT_SECRET=livekit-password #Change
|
|
- LIVEKIT_FULL_ACCESS_HOMESERVERS=matrix.example.com,example.com #Notes on this below
|
|
restart: unless-stopped
|
|
ports:
|
|
- 8070:8080 #Change 8070 to whichever port you want JWT to be available on locally
|
|
|
|
livekit:
|
|
image: livekit/livekit-server:latest
|
|
hostname: livekit
|
|
container_name: element-call-livekit
|
|
command: --config /etc/livekit.yaml
|
|
ports:
|
|
- 7880:7880/tcp
|
|
- 7881:7881/tcp
|
|
- 50100-50200:50100-50200/udp
|
|
- 3478:3478/udp
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./config.yaml:/etc/livekit.yaml:ro |