# LiveKit SFU configuration
# Deployed at: /opt/livekit/livekit.yaml on matrix-ubuntu
# Docs: https://docs.livekit.io/home/self-hosting/deployment/

port: 7880
rtc:
  tcp_port: 7881
  port_range_start: 50000
  port_range_end: 60000
  use_external_ip: true  # Auto-detects 184.23.52.14
  use_ice_lite: true

room:
  auto_create: false  # Required — lk-jwt-service creates rooms for authorized users only

keys:
  # API key name: livekit_key
  # Secret stored in livekit.yml docker-compose env var
  livekit_key: 800649495d6b00e27fbafc71REDACTED_GITEA_TOKEN # pragma: allowlist secret

logging:
  level: info
