[fix] images version change 1.3.1-JDK17

This commit is contained in:
wujiawei
2025-06-21 15:19:42 +08:00
parent ac1100c3be
commit f0a3f4ef01
19 changed files with 51 additions and 51 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-JDK17-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-JDK17
``` ```
#### 操作步骤:杭州本地机房所在网络服务器启动客户端、你老家所在网络中启动客户端,命令如下 #### 操作步骤:杭州本地机房所在网络服务器启动客户端、你老家所在网络中启动客户端,命令如下
```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-JDK17-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-JDK17
``` ```
```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-JDK17-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-JDK17
``` ```
#### 操作步骤:配置端口 #### 操作步骤:配置端口
![client_permeate_port_pool.png](client_permeate_port_pool.png) ![client_permeate_port_pool.png](client_permeate_port_pool.png)

View File

@@ -88,21 +88,21 @@ ORM操作数据库使用环境JDK17 Spring Boot 3.0.2。的网络穿透、渗
| 模块 | 版本 | 描述 | | 模块 | 版本 | 描述 |
|------------------------------------------------------------------------------------------------------------|----------------------|------------------------------| |------------------------------------------------------------------------------------------------------------|----------------------|------------------------------|
| [wu-lazy-cloud-heartbeat-common](wu-lazy-cloud-heartbeat-common) | 1.3.1-JDK17-SNAPSHOT | 内网穿透公共模块(声明接口、枚举、常量、适配器、解析器) | | [wu-lazy-cloud-heartbeat-common](wu-lazy-cloud-heartbeat-common) | 1.3.1-JDK17 | 内网穿透公共模块(声明接口、枚举、常量、适配器、解析器) |
| [wu-lazy-cloud-heartbeat-client](wu-lazy-cloud-heartbeat-client) | 1.3.1-JDK17-SNAPSHOT | 客户端(支持二次开发) | | [wu-lazy-cloud-heartbeat-client](wu-lazy-cloud-heartbeat-client) | 1.3.1-JDK17 | 客户端(支持二次开发) |
| [wu-lazy-cloud-heartbeat-server](wu-lazy-cloud-heartbeat-server) | 1.3.1-JDK17-SNAPSHOT | 服务端(支持二次开发) | | [wu-lazy-cloud-heartbeat-server](wu-lazy-cloud-heartbeat-server) | 1.3.1-JDK17 | 服务端(支持二次开发) |
| [wu-lazy-cloud-heartbeat-client-start](wu-lazy-cloud-heartbeat-start/wu-lazy-cloud-heartbeat-server-start) | 1.3.1-JDK17-SNAPSHOT | 客户端样例 | | [wu-lazy-cloud-heartbeat-client-start](wu-lazy-cloud-heartbeat-start/wu-lazy-cloud-heartbeat-server-start) | 1.3.1-JDK17 | 客户端样例 |
| [wu-lazy-cloud-heartbeat-server-start](wu-lazy-cloud-heartbeat-start/wu-lazy-cloud-heartbeat-client-start) | 1.3.1-JDK17-SNAPSHOT | 服务端样例 | | [wu-lazy-cloud-heartbeat-server-start](wu-lazy-cloud-heartbeat-start/wu-lazy-cloud-heartbeat-client-start) | 1.3.1-JDK17 | 服务端样例 |
### 使用技术 ### 使用技术
| 框架 | 版本 | 描述 | | 框架 | 版本 | 描述 |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------|--------------| |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------|--------------|
| 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-JDK17-SNAPSHOT | web容器 | | [wu-framework-web](https://gitee.com/wujiawei1207537021/wu-framework-parent/tree/master/wu-framework-web) | 1.3.1-JDK17 | web容器 |
| [Lazy -ORM](https://gitee.com/wujiawei1207537021/wu-framework-parent/tree/master/wu-inner-intergration/wu-database-parent) | 1.3.1-JDK17-SNAPSHOT | ORM | | [Lazy -ORM](https://gitee.com/wujiawei1207537021/wu-framework-parent/tree/master/wu-inner-intergration/wu-database-parent) | 1.3.1-JDK17 | 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-JDK17-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-JDK17 | 用户授权体系 |
### 使用环境 ### 使用环境
@@ -115,7 +115,7 @@ ORM操作数据库使用环境JDK17 Spring Boot 3.0.2。的网络穿透、渗
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-JDK17-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-JDK17
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-JDK17-SNAPSHOT registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17
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-JDK17-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-JDK17
``` ```
##### 启动客户端 ##### 启动客户端
@@ -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-JDK17-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-JDK17
``` ```

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-JDK17-SNAPSHOT</version> <version>1.3.1-JDK17</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-JDK17-SNAPSHOT</version> <version>1.3.1-JDK17</version>
<description>云上云下</description> <description>云上云下</description>
@@ -72,7 +72,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-JDK17-SNAPSHOT</version> <version>1.3.1-JDK17</version>
<type>pom</type> <type>pom</type>
<scope>import</scope> <scope>import</scope>
</dependency> </dependency>

View File

@@ -30,7 +30,7 @@
[change] 修复通道关闭导致调度线程池submit异常问题 [change] 修复通道关闭导致调度线程池submit异常问题
[change] 添加记录客户端IP [change] 添加记录客户端IP
[change] 1.2.9为大版本,报文中添加数据无法向下兼容,建议服务端与客户端保持版本一致 [change] 1.2.9为大版本,报文中添加数据无法向下兼容,建议服务端与客户端保持版本一致
#### 1.3.1-JDK17-SNAPSHOT #### 1.3.1-JDK17
[add] 新增http代理客户端代理服务端、客户端代理客户杜安、服务端代理客户端、服务端代理服务端 [add] 新增http代理客户端代理服务端、客户端代理客户杜安、服务端代理客户端、服务端代理服务端
[add] 新增socks代理客户端代理服务端、客户端代理客户杜安、服务端代理客户端、服务端代理服务端 [add] 新增socks代理客户端代理服务端、客户端代理客户杜安、服务端代理客户端、服务端代理服务端
[add] 新增客户端路由管理、新增服务端路由管理 [add] 新增客户端路由管理、新增服务端路由管理

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-JDK17-SNAPSHOT</version> <version>1.3.1-JDK17</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-JDK17-SNAPSHOT</version> <version>1.3.1-JDK17</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-JDK17-SNAPSHOT</version> <version>1.3.1-JDK17</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-JDK17-SNAPSHOT</version> <version>1.3.1-JDK17</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-JDK17-SNAPSHOT</version> <version>1.3.1-JDK17</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-JDK17-SNAPSHOT</version> <version>1.3.1-JDK17</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-JDK17-SNAPSHOT</version> <version>1.3.1-JDK17</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-JDK17-SNAPSHOT</version> <version>1.3.1-JDK17</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-JDK17-SNAPSHOT</version> <version>1.3.1-JDK17</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-JDK17-SNAPSHOT</version> <version>1.3.1-JDK17</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-JDK17-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-JDK17 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,8 +24,8 @@ 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-JDK17-SNAPSHOT . docker build -t registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17 .
docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17-SNAPSHOT docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17
``` ```
@@ -33,30 +33,30 @@ docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-cl
## Docker Hub ## Docker Hub
```shell ```shell
docker tag registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17 1207537021/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17-SNAPSHOT docker tag registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17 1207537021/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17
docker push 1207537021/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17-SNAPSHOT docker push 1207537021/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17
``` ```
### wlcn ### wlcn
```shell ```shell
docker tag registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17 wlcn/wlcn-client:1.3.1-JDK17-SNAPSHOT docker tag registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17 wlcn/wlcn-client:1.3.1-JDK17
docker push wlcn/wlcn-client:1.3.1-JDK17-SNAPSHOT docker push wlcn/wlcn-client:1.3.1-JDK17
``` ```
### 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-JDK17-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-JDK17
``` ```
```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-JDK17-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-JDK17
``` ```
```yaml ```yaml
@@ -91,7 +91,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-JDK17-SNAPSHOT docker run -d -it --name client registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17
http://127.0.0.1:18080 http://127.0.0.1:18080

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-JDK17-SNAPSHOT</version> <version>1.3.1-JDK17</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-JDK17-SNAPSHOT</version> <version>1.3.1-JDK17</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-JDK17-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-JDK17 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,8 +23,8 @@ 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-JDK17-SNAPSHOT . docker build -t registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK17 .
docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK17-SNAPSHOT docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK17
``` ```
@@ -32,22 +32,22 @@ docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-se
## Docker Hub ## Docker Hub
```shell ```shell
docker tag registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK17-SNAPSHOT 1207537021/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK17-SNAPSHOT docker tag registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK17 1207537021/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK17
docker push 1207537021/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK17-SNAPSHOT docker push 1207537021/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK17
``` ```
### wlcn ### wlcn
```shell ```shell
docker tag registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK17-SNAPSHOT wlcn/wlcn-server:1.3.1-JDK17-SNAPSHOT docker tag registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK17 wlcn/wlcn-server:1.3.1-JDK17
docker push wlcn/wlcn-server:1.3.1-JDK17-SNAPSHOT docker push wlcn/wlcn-server:1.3.1-JDK17
``` ```
```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-JDK17-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-JDK17
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-JDK17-SNAPSHOT registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.3.1-JDK17
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-JDK17-SNAPSHOT</version> <version>1.3.1-JDK17</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>