fix livekit network connection

pull/6/head
Namekuji 2022-12-10 13:29:23 -05:00
rodzic f63b98eb7c
commit 90eedeeebf
3 zmienionych plików z 5 dodań i 12 usunięć

Wyświetl plik

@ -18,7 +18,7 @@ rtc:
use_external_ip: true use_external_ip: true
redis: redis:
address: redis:6379 address: 127.0.0.1:6379
db: 1 db: 1
turn: turn:

Wyświetl plik

@ -1,5 +1,3 @@
bind 127.0.0.1 ::1
protected-mode yes
port 6379 port 6379
timeout 0 timeout 0
tcp-keepalive 300 tcp-keepalive 300

Wyświetl plik

@ -26,8 +26,8 @@ services:
image: redis:7-alpine image: redis:7-alpine
restart: unless-stopped restart: unless-stopped
command: redis-server /etc/redis.conf command: redis-server /etc/redis.conf
# ports: ports:
# - 6379:6379 - "127.0.0.1:6379:6379"
volumes: volumes:
- ./redis:/data - ./redis:/data
- ./config/redis.conf:/etc/redis.conf - ./config/redis.conf:/etc/redis.conf
@ -36,12 +36,7 @@ services:
image: livekit/livekit-server:v1.3 image: livekit/livekit-server:v1.3
command: --config /etc/livekit.yaml command: --config /etc/livekit.yaml
restart: unless-stopped restart: unless-stopped
# network_mode: "host" network_mode: "host"
ports:
- "7881:7881/tcp"
- "50000-60000:50000-60000/udp"
- "5349:5349/tcp"
- "3478:3478/udp"
depends_on: depends_on:
- redis - redis
volumes: volumes:
@ -54,7 +49,7 @@ services:
- .env.production - .env.production
restart: unless-stopped restart: unless-stopped
ports: ports:
- "8100:8100" - "127.0.0.1:8100:8100"
depends_on: depends_on:
- db - db
- redis - redis