Configure self-hosted STUN for remote WebRTC
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
# docker compose 变量(复制为项目根 .env)。公网 WebRTC 需配合 --profile remote。
|
||||
PUBLIC_IP=182.92.86.220
|
||||
# PRIVATE_IP 是 `ip -4 route get 1.1.1.1` 输出中 src 后的地址。
|
||||
PUBLIC_IP=118.89.89.89
|
||||
PRIVATE_IP=10.0.0.8
|
||||
TURN_SECRET=change-me-to-a-long-random-string
|
||||
TURN_URLS=turn:182.92.86.220:3478?transport=udp,turn:182.92.86.220:3478?transport=tcp
|
||||
STUN_URL=stun:118.89.89.89:3478
|
||||
TURN_URLS=turn:118.89.89.89:3478?transport=udp,turn:118.89.89.89:3478?transport=tcp
|
||||
S3_ACCESS_KEY=rustfsadmin
|
||||
S3_SECRET_KEY=rustfsadmin
|
||||
S3_BUCKET=ai-video
|
||||
|
||||
Reference in New Issue
Block a user