From b9c8e6c049f67e755a6f3fcc0d21c75af4e9d69b Mon Sep 17 00:00:00 2001 From: roai_linux Date: Thu, 12 Mar 2026 15:09:42 +0330 Subject: [PATCH] fix: fix livekit --- Back/docker-compose.yml | 9 ++++----- Back/livekit.yaml | 10 ++++++++++ 2 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 Back/livekit.yaml diff --git a/Back/docker-compose.yml b/Back/docker-compose.yml index 94a31f8..2dcc02e 100755 --- a/Back/docker-compose.yml +++ b/Back/docker-compose.yml @@ -54,13 +54,12 @@ services: ports: - "7780:7880" - "7781:7881" - - "7782:7882/udp" + - "50000-50100:50000-50100/udp" env_file: - .env - environment: - LIVEKIT_KEYS: "${LIVEKIT_API_KEY}: ${LIVEKIT_API_SECRET}" - command: > - --dev=false + volumes: + - ./livekit.yaml:/etc/livekit/livekit.yaml + command: [ "--config", "/etc/livekit/livekit.yaml", "--keys", "${LIVEKIT_API_KEY}: ${LIVEKIT_API_SECRET}" ] restart: always volumes: diff --git a/Back/livekit.yaml b/Back/livekit.yaml new file mode 100644 index 0000000..491371c --- /dev/null +++ b/Back/livekit.yaml @@ -0,0 +1,10 @@ +port: 7880 + +rtc: + tcp_port: 7881 + port_range_start: 50000 + port_range_end: 50100 + use_external_ip: false + +logging: + level: info \ No newline at end of file