Skip to content

Commit

Permalink
fix: socket port env error
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtsm committed Aug 14, 2023
1 parent f0d2417 commit 540b1d1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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://域名:端口"
Expand Down
6 changes: 3 additions & 3 deletions bin/auto-pull-and-start-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion doc/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tlrtcfile.env
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 540b1d1

Please sign in to comment.