fix: socket port env error

This commit is contained in:
https://blog.iamtsm.cn
2023-08-14 15:19:50 +08:00
parent f0d24175c2
commit 540b1d1b90
4 changed files with 6 additions and 6 deletions

View File

@@ -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://域名:端口"

View File

@@ -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 \

View File

@@ -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"

View File

@@ -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