mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2025-06-16 18:35:05 +08:00
【fix】md
This commit is contained in:
28
install.md
Normal file
28
install.md
Normal file
@ -0,0 +1,28 @@
|
||||
#### docker环境安装wlcn
|
||||
##### 启动服务端
|
||||
- 6001端口 webui
|
||||
- 7001端口 tcp连接端口
|
||||
- 8001端口 http代理端口
|
||||
- 9001端口 socks代理端口
|
||||
- 1001端口 自定义需要代理到客户端端口
|
||||
- 打开浏览器访问界面 http://127.0.0.1:6001/netty-server-ui/index.html
|
||||
|
||||
```shell
|
||||
|
||||
docker run -d -it -p 6001:6001 -p 7001:7001 -p 8001:8001 -p 9001:9001 --name wlcn-s registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server:1.3.1-JDK17-SNAPSHOT
|
||||
|
||||
```
|
||||
##### 启动客户端
|
||||
|
||||
- 6004端口 webui
|
||||
- 8001端口 http代理端口
|
||||
- 9001端口 socks代理端口
|
||||
- 环境变量
|
||||
- spring.lazy.netty.client.inet-host 服务端IP
|
||||
- spring.lazy.netty.client.inet-port 服务端tcp端口
|
||||
- spring.lazy.netty.client.client-id 客户端ID
|
||||
- 打开浏览器访问界面 http://127.0.0.1:6004/netty-client-local-ui/index.html
|
||||
|
||||
```shell
|
||||
docker run -d -it --privileged -p 6004:6004 --name wlcn-c --restart=always -e spring.lazy.netty.client.inet-host=192.168.xx.xx -e spring.lazy.netty.client.inet-port=7001 -e spring.lazy.netty.client.client-id="wlcn-c" registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17-SNAPSHOT
|
||||
```
|
Reference in New Issue
Block a user