[update] 1.3.1-JDK24

This commit is contained in:
wujiawei
2025-07-19 22:57:56 +08:00
parent 13858a0b7c
commit 9e1a47f4e9
19 changed files with 53 additions and 53 deletions

View File

@@ -7,15 +7,15 @@
#### 操作步骤拥有公网ip的服务器开发6001web、7001端口tcp然后执行命令启动服务端 #### 操作步骤拥有公网ip的服务器开发6001web、7001端口tcp然后执行命令启动服务端
```shell ```shell
docker run -d -it -p 6001:6001 -p 7001:7001 -e spring.profiles.active=prod -e MAIN_DB_HOST=localhost:3306 -e MAIN_DB_PASSWORD=root -e MAIN_DB_PASSWORD=root --name wu-lazy-cloud-heartbeat-server-start registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK24-SNAPSHOT docker run -d -it -p 6001:6001 -p 7001:7001 -e spring.profiles.active=prod -e MAIN_DB_HOST=localhost:3306 -e MAIN_DB_PASSWORD=root -e MAIN_DB_PASSWORD=root --name wu-lazy-cloud-heartbeat-server-start registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK24
``` ```
#### 操作步骤:杭州本地机房所在网络服务器启动客户端、你老家所在网络中启动客户端,命令如下 #### 操作步骤:杭州本地机房所在网络服务器启动客户端、你老家所在网络中启动客户端,命令如下
```shell ```shell
docker run -d -it --privileged --name hangzhou-client --restart=always -e spring.lazy.netty.client.inet-host=公网IP -e spring.lazy.netty.client.inet-port=7001 -e spring.lazy.netty.client.client-id="hangzhou-jifang" registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24-SNAPSHOT docker run -d -it --privileged --name hangzhou-client --restart=always -e spring.lazy.netty.client.inet-host=公网IP -e spring.lazy.netty.client.inet-port=7001 -e spring.lazy.netty.client.client-id="hangzhou-jifang" registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24
``` ```
```shell ```shell
docker run -d -it --privileged --name my-home-client --restart=always -e spring.lazy.netty.client.inet-host=公网IP -e spring.lazy.netty.client.inet-port=7001 -e spring.lazy.netty.client.client-id="my-home" registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24-SNAPSHOT docker run -d -it --privileged --name my-home-client --restart=always -e spring.lazy.netty.client.inet-host=公网IP -e spring.lazy.netty.client.inet-port=7001 -e spring.lazy.netty.client.client-id="my-home" registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24
``` ```
#### 操作步骤:配置端口 #### 操作步骤:配置端口
![client_permeate_port_pool.png](client_permeate_port_pool.png) ![client_permeate_port_pool.png](client_permeate_port_pool.png)

View File

@@ -91,21 +91,21 @@ ORM操作数据库使用环境JDK24 Spring Boot 3.5.0。的网络穿透、渗
| 模块 | 版本 | 描述 | | 模块 | 版本 | 描述 |
|------------------------------------------------------------------------------------------------------------|----------------------|------------------------------| |------------------------------------------------------------------------------------------------------------|----------------------|------------------------------|
| [wu-lazy-cloud-heartbeat-common](wu-lazy-cloud-heartbeat-common) | 1.3.1-JDK24-SNAPSHOT | 内网穿透公共模块(声明接口、枚举、常量、适配器、解析器) | | [wu-lazy-cloud-heartbeat-common](wu-lazy-cloud-heartbeat-common) | 1.3.1-JDK24 | 内网穿透公共模块(声明接口、枚举、常量、适配器、解析器) |
| [wu-lazy-cloud-heartbeat-client](wu-lazy-cloud-heartbeat-client) | 1.3.1-JDK24-SNAPSHOT | 客户端(支持二次开发) | | [wu-lazy-cloud-heartbeat-client](wu-lazy-cloud-heartbeat-client) | 1.3.1-JDK24 | 客户端(支持二次开发) |
| [wu-lazy-cloud-heartbeat-server](wu-lazy-cloud-heartbeat-server) | 1.3.1-JDK24-SNAPSHOT | 服务端(支持二次开发) | | [wu-lazy-cloud-heartbeat-server](wu-lazy-cloud-heartbeat-server) | 1.3.1-JDK24 | 服务端(支持二次开发) |
| [wu-lazy-cloud-heartbeat-client-start](wu-lazy-cloud-heartbeat-start/wu-lazy-cloud-heartbeat-server-start) | 1.3.1-JDK24-SNAPSHOT | 客户端样例 | | [wu-lazy-cloud-heartbeat-client-start](wu-lazy-cloud-heartbeat-start/wu-lazy-cloud-heartbeat-server-start) | 1.3.1-JDK24 | 客户端样例 |
| [wu-lazy-cloud-heartbeat-server-start](wu-lazy-cloud-heartbeat-start/wu-lazy-cloud-heartbeat-client-start) | 1.3.1-JDK24-SNAPSHOT | 服务端样例 | | [wu-lazy-cloud-heartbeat-server-start](wu-lazy-cloud-heartbeat-start/wu-lazy-cloud-heartbeat-client-start) | 1.3.1-JDK24 | 服务端样例 |
### 使用技术 ### 使用技术
| 框架 | 版本 | 描述 | | 框架 | 版本 | 描述 |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------|--------------| |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------|--------------|
| spring-boot | 3.0.7 | springboot框架 | | spring-boot | 3.0.7 | springboot框架 |
| [wu-framework-web](https://gitee.com/wujiawei1207537021/wu-framework-parent/tree/master/wu-framework-web) | 1.3.1-JDK24-SNAPSHOT | web容器 | | [wu-framework-web](https://gitee.com/wujiawei1207537021/wu-framework-parent/tree/master/wu-framework-web) | 1.3.1-JDK24 | web容器 |
| [Lazy -ORM](https://gitee.com/wujiawei1207537021/wu-framework-parent/tree/master/wu-inner-intergration/wu-database-parent) | 1.3.1-JDK24-SNAPSHOT | ORM | | [Lazy -ORM](https://gitee.com/wujiawei1207537021/wu-framework-parent/tree/master/wu-inner-intergration/wu-database-parent) | 1.3.1-JDK24 | ORM |
| mysql-connector-j | 8.0.33 | mysql驱动 | | mysql-connector-j | 8.0.33 | mysql驱动 |
| [wu-authorization-server-platform-starter](https://gitee.com/wujiawei1207537021/wu-framework-parent/tree/master/wu-smart-platform/wu-authorization-server-platform-starter) | 1.3.1-JDK24-SNAPSHOT | 用户授权体系 | | [wu-authorization-server-platform-starter](https://gitee.com/wujiawei1207537021/wu-framework-parent/tree/master/wu-smart-platform/wu-authorization-server-platform-starter) | 1.3.1-JDK24 | 用户授权体系 |
### 使用环境 ### 使用环境
@@ -118,7 +118,7 @@ ORM操作数据库使用环境JDK24 Spring Boot 3.5.0。的网络穿透、渗
docker启动 docker启动
docker run -d -it -p 18080:18080 --name wu-lazy-cloud-heartbeat-server registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server:1.3.1-JDK24-SNAPSHOT docker run -d -it -p 18080:18080 --name wu-lazy-cloud-heartbeat-server registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server:1.3.1-JDK24
http://127.0.0.1:18080/swagger-ui/index.html http://127.0.0.1:18080/swagger-ui/index.html

View File

@@ -28,7 +28,7 @@ spec:
containers: containers:
- name: wu-lazy-cloud-heartbeat-local-client-start - name: wu-lazy-cloud-heartbeat-local-client-start
image: >- image: >-
registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24-SNAPSHOT registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24
env: env:
- name: spring.lazy.netty.client.inet-host - name: spring.lazy.netty.client.inet-host
value: 124.222.48.62 value: 124.222.48.62

View File

@@ -9,7 +9,7 @@
```shell ```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-JDK24-SNAPSHOT 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-JDK24
``` ```
##### 启动客户端 ##### 启动客户端
@@ -24,5 +24,5 @@ docker run -d -it -p 6001:6001 -p 7001:7001 -p 8001:8001 -p 9001:9001 --nam
- 打开浏览器访问界面 http://127.0.0.1:6004/netty-client-local-ui/index.html - 打开浏览器访问界面 http://127.0.0.1:6004/netty-client-local-ui/index.html
```shell ```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-JDK24-SNAPSHOT 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-JDK24
``` ```

View File

@@ -8,12 +8,12 @@
<parent> <parent>
<artifactId>wu-framework-parent</artifactId> <artifactId>wu-framework-parent</artifactId>
<groupId>top.wu2020</groupId> <groupId>top.wu2020</groupId>
<version>1.3.1-JDK24-SNAPSHOT</version> <version>1.3.1-JDK24</version>
</parent> </parent>
<artifactId>wu-lazy-cloud-network</artifactId> <artifactId>wu-lazy-cloud-network</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
<version>1.3.1-JDK24-SNAPSHOT</version> <version>1.3.1-JDK24</version>
<description>云上云下</description> <description>云上云下</description>
@@ -71,7 +71,7 @@
<dependency> <dependency>
<groupId>top.wu2020</groupId> <groupId>top.wu2020</groupId>
<artifactId>wu-framework-dependencies</artifactId> <artifactId>wu-framework-dependencies</artifactId>
<version>1.3.1-JDK24-SNAPSHOT</version> <version>1.3.1-JDK24</version>
<type>pom</type> <type>pom</type>
<scope>import</scope> <scope>import</scope>
</dependency> </dependency>

View File

@@ -40,7 +40,7 @@
[add] 新增代理流量监控 [add] 新增代理流量监控
[add] docker仓库上架dockerhub搜索https://hub.docker.com/search?q=wlcn [add] docker仓库上架dockerhub搜索https://hub.docker.com/search?q=wlcn
#### 1.3.1-JDK24-SNAPSHOT #### 1.3.1-JDK24
[add] 新增代理流量监控 [add] 新增代理流量监控
[add] 升级使用jdk24、springboot 3.5.0 [add] 升级使用jdk24、springboot 3.5.0
[add] 添加socks授权验证 [add] 添加socks授权验证

View File

@@ -5,7 +5,7 @@
<parent> <parent>
<groupId>top.wu2020</groupId> <groupId>top.wu2020</groupId>
<artifactId>wu-lazy-cloud-network</artifactId> <artifactId>wu-lazy-cloud-network</artifactId>
<version>1.3.1-JDK24-SNAPSHOT</version> <version>1.3.1-JDK24</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@@ -26,7 +26,7 @@
<dependency> <dependency>
<groupId>top.wu2020</groupId> <groupId>top.wu2020</groupId>
<artifactId>wu-lazy-cloud-heartbeat-protocol-proxy</artifactId> <artifactId>wu-lazy-cloud-heartbeat-protocol-proxy</artifactId>
<version>1.3.1-JDK24-SNAPSHOT</version> <version>1.3.1-JDK24</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.alibaba</groupId> <groupId>com.alibaba</groupId>

View File

@@ -6,7 +6,7 @@
<parent> <parent>
<groupId>top.wu2020</groupId> <groupId>top.wu2020</groupId>
<artifactId>wu-lazy-cloud-network</artifactId> <artifactId>wu-lazy-cloud-network</artifactId>
<version>1.3.1-JDK24-SNAPSHOT</version> <version>1.3.1-JDK24</version>
</parent> </parent>
<artifactId>wu-lazy-cloud-heartbeat-common</artifactId> <artifactId>wu-lazy-cloud-heartbeat-common</artifactId>
@@ -32,7 +32,7 @@
<dependency> <dependency>
<groupId>top.wu2020</groupId> <groupId>top.wu2020</groupId>
<artifactId>wu-framework-queue</artifactId> <artifactId>wu-framework-queue</artifactId>
<version>1.3.1-JDK24-SNAPSHOT</version> <version>1.3.1-JDK24</version>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@@ -5,7 +5,7 @@
<parent> <parent>
<groupId>top.wu2020</groupId> <groupId>top.wu2020</groupId>
<artifactId>wu-lazy-cloud-network</artifactId> <artifactId>wu-lazy-cloud-network</artifactId>
<version>1.3.1-JDK24-SNAPSHOT</version> <version>1.3.1-JDK24</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View File

@@ -5,7 +5,7 @@
<parent> <parent>
<groupId>top.wu2020</groupId> <groupId>top.wu2020</groupId>
<artifactId>wu-lazy-cloud-network</artifactId> <artifactId>wu-lazy-cloud-network</artifactId>
<version>1.3.1-JDK24-SNAPSHOT</version> <version>1.3.1-JDK24</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@@ -56,7 +56,7 @@
<dependency> <dependency>
<groupId>top.wu2020</groupId> <groupId>top.wu2020</groupId>
<artifactId>wu-framework-queue</artifactId> <artifactId>wu-framework-queue</artifactId>
<version>1.3.1-JDK24-SNAPSHOT</version> <version>1.3.1-JDK24</version>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@@ -5,7 +5,7 @@
<parent> <parent>
<groupId>top.wu2020</groupId> <groupId>top.wu2020</groupId>
<artifactId>wu-lazy-cloud-network</artifactId> <artifactId>wu-lazy-cloud-network</artifactId>
<version>1.3.1-JDK24-SNAPSHOT</version> <version>1.3.1-JDK24</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View File

@@ -5,7 +5,7 @@
<parent> <parent>
<groupId>top.wu2020</groupId> <groupId>top.wu2020</groupId>
<artifactId>wu-lazy-cloud-network</artifactId> <artifactId>wu-lazy-cloud-network</artifactId>
<version>1.3.1-JDK24-SNAPSHOT</version> <version>1.3.1-JDK24</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@@ -31,7 +31,7 @@
<dependency> <dependency>
<groupId>top.wu2020</groupId> <groupId>top.wu2020</groupId>
<artifactId>wu-lazy-cloud-heartbeat-protocol-proxy</artifactId> <artifactId>wu-lazy-cloud-heartbeat-protocol-proxy</artifactId>
<version>1.3.1-JDK24-SNAPSHOT</version> <version>1.3.1-JDK24</version>
</dependency> </dependency>
<!-- 数据库 --> <!-- 数据库 -->
<dependency> <dependency>

View File

@@ -5,7 +5,7 @@
<parent> <parent>
<groupId>top.wu2020</groupId> <groupId>top.wu2020</groupId>
<artifactId>wu-lazy-cloud-network</artifactId> <artifactId>wu-lazy-cloud-network</artifactId>
<version>1.3.1-JDK24-SNAPSHOT</version> <version>1.3.1-JDK24</version>
</parent> </parent>
<artifactId>wu-lazy-cloud-heartbeat-start</artifactId> <artifactId>wu-lazy-cloud-heartbeat-start</artifactId>

View File

@@ -9,7 +9,7 @@ mvn -Pnative -DskipTests clean package native:compile
```shell ```shell
mvn spring-boot:build-image -Pnative mvn spring-boot:build-image -Pnative
docker tag docker.io/library/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24-SNAPSHOT registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17-NATIVE-SNAPSHOT docker tag docker.io/library/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24 registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17-NATIVE-SNAPSHOT
docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17-NATIVE-SNAPSHOT docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17-NATIVE-SNAPSHOT
@@ -24,37 +24,37 @@ docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-cl
mvn clean install mvn clean install
docker build -t registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24-SNAPSHOT . docker build -t registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24 .
docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24-SNAPSHOT docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24
``` ```
## Docker Hub ## Docker Hub
```shell ```shell
docker tag registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24-SNAPSHOT 1207537021/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24-SNAPSHOT docker tag registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24 1207537021/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24
docker push 1207537021/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24-SNAPSHOT docker push 1207537021/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24
``` ```
### wlcn ### wlcn
```shell ```shell
docker tag registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24-SNAPSHOT wlcn/wlcn-client:1.3.1-JDK24-SNAPSHOT docker tag registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24 wlcn/wlcn-client:1.3.1-JDK24
docker push wlcn/wlcn-client:1.3.1-JDK24-SNAPSHOT docker push wlcn/wlcn-client:1.3.1-JDK24
``` ```
### run ### run
```shell ```shell
docker run -d -it --privileged --name client -p 6004:6004 registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24-SNAPSHOT docker run -d -it --privileged --name client -p 6004:6004 registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24
``` ```
```shell ```shell
docker run -d -it --privileged --name windows-client --restart=always -e spring.lazy.netty.client.inet-host=124.222.152.160 -e spring.lazy.netty.client.inet-port=30560 -e spring.lazy.netty.client.client-id="windows-11" docker.io/library/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24-SNAPSHOT docker run -d -it --privileged --name windows-client --restart=always -e spring.lazy.netty.client.inet-host=124.222.152.160 -e spring.lazy.netty.client.inet-port=30560 -e spring.lazy.netty.client.client-id="windows-11" docker.io/library/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24
``` ```
```yaml ```yaml
@@ -89,7 +89,7 @@ kubeadm join apiserver.demo:6443 --token 2wtcsg.0af26p9wzfgvyf5a --discovery
``` ```
```RUN ```RUN
docker run -d -it --name client registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24-SNAPSHOT docker run -d -it --name client registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK24
http://127.0.0.1:18080 http://127.0.0.1:18080
@@ -115,7 +115,7 @@ http://127.0.0.1:18080
jpackage \ jpackage \
--input target \ --input target \
--name wlcn-client \ --name wlcn-client \
--main-jar wu-lazy-cloud-heartbeat-client-start-1.3.1-JDK24-SNAPSHOT.jar \ --main-jar wu-lazy-cloud-heartbeat-client-start-1.3.1-JDK24.jar \
--main-class org.framework.lazy.cloud.network.heartbeat.client.LazyCloudHeartbeatClientStart \ --main-class org.framework.lazy.cloud.network.heartbeat.client.LazyCloudHeartbeatClientStart \
--type dmg \ --type dmg \
--vendor "小吴小吴bug全无" \ --vendor "小吴小吴bug全无" \

View File

@@ -5,7 +5,7 @@
<parent> <parent>
<groupId>top.wu2020</groupId> <groupId>top.wu2020</groupId>
<artifactId>wu-lazy-cloud-heartbeat-start</artifactId> <artifactId>wu-lazy-cloud-heartbeat-start</artifactId>
<version>1.3.1-JDK24-SNAPSHOT</version> <version>1.3.1-JDK24</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View File

@@ -5,7 +5,7 @@
<parent> <parent>
<groupId>top.wu2020</groupId> <groupId>top.wu2020</groupId>
<artifactId>wu-lazy-cloud-heartbeat-start</artifactId> <artifactId>wu-lazy-cloud-heartbeat-start</artifactId>
<version>1.3.1-JDK24-SNAPSHOT</version> <version>1.3.1-JDK24</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View File

@@ -11,7 +11,7 @@ mvn -Pnative -DskipTests clean package native:compile
```shell ```shell
mvn spring-boot:build-image -Pnative mvn spring-boot:build-image -Pnative
docker tag docker.io/library/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK24-SNAPSHOT registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK17-NATIVE-SNAPSHOT docker tag docker.io/library/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK24 registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK17-NATIVE-SNAPSHOT
docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK17-NATIVE-SNAPSHOT docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK17-NATIVE-SNAPSHOT
@@ -23,28 +23,28 @@ docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-se
mvn clean install mvn clean install
docker build -t registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK24-SNAPSHOT . docker build -t registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK24 .
docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK24-SNAPSHOT docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK24
``` ```
## Docker Hub ## Docker Hub
```shell ```shell
docker tag registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK24-SNAPSHOT 1207537021/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK24-SNAPSHOT docker tag registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK24 1207537021/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK24
docker push 1207537021/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK24-SNAPSHOT docker push 1207537021/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK24
``` ```
### wlcn ### wlcn
```shell ```shell
docker tag registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK24-SNAPSHOT wlcn/wlcn-server:1.3.1-JDK24-SNAPSHOT docker tag registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK24 wlcn/wlcn-server:1.3.1-JDK24
docker push wlcn/wlcn-server:1.3.1-JDK24-SNAPSHOT docker push wlcn/wlcn-server:1.3.1-JDK24
``` ```
```RUN ```RUN
docker run -d -it -p 6001:6001 -p 7001:7001 -e spring.profiles.active=prod -e MAIN_DB_HOST=localhost:3306 -e MAIN_DB_PASSWORD=root -e MAIN_DB_PASSWORD=root --name wu-lazy-cloud-heartbeat-server-start registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK24-SNAPSHOT docker run -d -it -p 6001:6001 -p 7001:7001 -e spring.profiles.active=prod -e MAIN_DB_HOST=localhost:3306 -e MAIN_DB_PASSWORD=root -e MAIN_DB_PASSWORD=root --name wu-lazy-cloud-heartbeat-server-start registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK24
http://127.0.0.1:6001/swagger-ui/index.html http://127.0.0.1:6001/swagger-ui/index.html

View File

@@ -41,7 +41,7 @@ spec:
- name: spring.datasource.driver-class-name - name: spring.datasource.driver-class-name
value: com.mysql.cj.jdbc.Driver value: com.mysql.cj.jdbc.Driver
image: >- image: >-
registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK24-SNAPSHOT registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK24
imagePullPolicy: Always imagePullPolicy: Always
name: wu-lazy-cloud-heartbeat-server name: wu-lazy-cloud-heartbeat-server
resources: {} resources: {}

View File

@@ -5,7 +5,7 @@
<parent> <parent>
<groupId>top.wu2020</groupId> <groupId>top.wu2020</groupId>
<artifactId>wu-lazy-cloud-heartbeat-start</artifactId> <artifactId>wu-lazy-cloud-heartbeat-start</artifactId>
<version>1.3.1-JDK24-SNAPSHOT</version> <version>1.3.1-JDK24</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>