mirror of
https://github.com/tl-open-source/tl-rtc-file.git
synced 2025-09-26 19:41:16 +08:00
fix: socket port env error
This commit is contained in:
@@ -63,7 +63,7 @@ npm install
|
||||
修改 `tlrtcfile.env` 中相应websocket配置
|
||||
|
||||
## websocket服务端口
|
||||
tl_rtc_file_ws_port=8444
|
||||
tl_rtc_file_socket_port=8444
|
||||
|
||||
## websocket服务地址
|
||||
## "ws://域名 或者 ws://ip:端口 或者 ws://域名:端口"
|
||||
|
@@ -100,7 +100,7 @@ docker run \
|
||||
-p $tl_rtc_file_api_port:$tl_rtc_file_api_port \
|
||||
-e "tl_rtc_file_env_mode=http" \
|
||||
-e tl_rtc_file_api_port \
|
||||
-e tl_rtc_file_ws_port \
|
||||
-e tl_rtc_file_socket_port \
|
||||
-e tl_rtc_file_socket_host \
|
||||
-e tl_rtc_file_webrtc_stun_host \
|
||||
-e tl_rtc_file_webrtc_turn_host \
|
||||
@@ -139,10 +139,10 @@ docker run \
|
||||
# 启动socket容器
|
||||
docker run \
|
||||
--name=socket \
|
||||
-p $tl_rtc_file_ws_port:$tl_rtc_file_ws_port \
|
||||
-p $tl_rtc_file_socket_port:$tl_rtc_file_socket_port \
|
||||
-e "tl_rtc_file_env_mode=http" \
|
||||
-e tl_rtc_file_api_port \
|
||||
-e tl_rtc_file_ws_port \
|
||||
-e tl_rtc_file_socket_port \
|
||||
-e tl_rtc_file_socket_host \
|
||||
-e tl_rtc_file_webrtc_stun_host \
|
||||
-e tl_rtc_file_webrtc_turn_host \
|
||||
|
@@ -62,7 +62,7 @@ npm install
|
||||
Modify the corresponding websocket configurations in `tlrtcfile.env`:
|
||||
|
||||
## Websocket server port
|
||||
tl_rtc_file_ws_port=8444
|
||||
tl_rtc_file_socket_port=8444
|
||||
|
||||
## Websocket server address
|
||||
## "ws://domain or ws://ip:port or ws://domain:port"
|
||||
|
@@ -2,7 +2,7 @@
|
||||
## api服务端口
|
||||
tl_rtc_file_api_port=9092
|
||||
## websocket服务端口
|
||||
tl_rtc_file_ws_port=8444
|
||||
tl_rtc_file_socket_port=8444
|
||||
## websocket服务地址
|
||||
tl_rtc_file_socket_host=ws://127.0.0.1:8444
|
||||
|
||||
|
Reference in New Issue
Block a user