mirror of
https://github.com/suitenumerique/meet.git
synced 2026-09-02 05:38:02 +00:00
🔧(devx) configure a TURN server on the local LiveKit dev stack
Wire a TURN server into the local LiveKit server used by the dev stack, so ICE negotiation has more candidate types available during local testing. Makes it easier to reproduce connectivity scenarios that would otherwise only show up on stricter networks in production.
This commit is contained in:
@@ -213,6 +213,8 @@ services:
|
|||||||
- "7880:7880"
|
- "7880:7880"
|
||||||
- "7881:7881"
|
- "7881:7881"
|
||||||
- "7882:7882/udp"
|
- "7882:7882/udp"
|
||||||
|
- "3478:3478/udp"
|
||||||
|
- "30000-30100:30000-30100/udp"
|
||||||
volumes:
|
volumes:
|
||||||
- ./docker/livekit/config/livekit-server.yaml:/config.yaml
|
- ./docker/livekit/config/livekit-server.yaml:/config.yaml
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
@@ -8,3 +8,16 @@ webhook:
|
|||||||
api_key: devkey
|
api_key: devkey
|
||||||
urls:
|
urls:
|
||||||
- http://app-dev:8000/api/v1.0/rooms/webhooks-livekit/
|
- http://app-dev:8000/api/v1.0/rooms/webhooks-livekit/
|
||||||
|
|
||||||
|
turn:
|
||||||
|
enabled: true
|
||||||
|
domain: turn.127.0.0.1.nip.io
|
||||||
|
udp_port: 3478
|
||||||
|
tls_port: 0
|
||||||
|
external_tls: false
|
||||||
|
relay_range_start: 30000
|
||||||
|
relay_range_end: 30100
|
||||||
|
allow_restricted_peer_cidrs:
|
||||||
|
- 192.168.0.0/16
|
||||||
|
- 172.16.0.0/12
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user