Make the SFU actually usable

This commit is contained in:
Robin 2024-09-26 16:53:45 -04:00
parent e98740d6f2
commit f0e59baad4

View File

@ -27,11 +27,15 @@ services:
image: livekit/livekit-server:latest image: livekit/livekit-server:latest
command: --dev --config /etc/livekit.yaml command: --dev --config /etc/livekit.yaml
restart: unless-stopped restart: unless-stopped
ports: # The SFU seems to work far more reliably when we let it share the host
- "7880:7880" # network rather than opening specific ports (but why?? we're not missing
- "7881:7881" # any…)
- "7882:7882" network_mode: host
- "50100-50200:50100-50200" # ports:
# - "7880:7880"
# - "7881:7881"
# - "7882:7882"
# - "50100-50200:50100-50200"
volumes: volumes:
- ./backend/livekit.yaml:/etc/livekit.yaml - ./backend/livekit.yaml:/etc/livekit.yaml
networks: networks: