mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2025-06-06 13:27:55 +08:00
[add] 修改simple为start
This commit is contained in:
parent
cceaa2741f
commit
a371d70ddb
2
pom.xml
2
pom.xml
@ -25,7 +25,7 @@
|
||||
<module>wu-lazy-cloud-heartbeat-common</module>
|
||||
|
||||
<!-- 样例 -->
|
||||
<module>wu-lazy-cloud-heartbeat-sample</module>
|
||||
<module>wu-lazy-cloud-heartbeat-start</module>
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
|
@ -8,16 +8,16 @@
|
||||
<version>1.2.2-JDK17-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>wu-lazy-cloud-heartbeat-sample</artifactId>
|
||||
<artifactId>wu-lazy-cloud-heartbeat-start</artifactId>
|
||||
|
||||
<name>wu-lazy-cloud-heartbeat-sample</name>
|
||||
<description>wu-lazy-cloud-heartbeat-sample</description>
|
||||
<name>wu-lazy-cloud-heartbeat-start</name>
|
||||
<description>wu-lazy-cloud-heartbeat-start</description>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<modules>
|
||||
<!-- 样例 -->
|
||||
<module>wu-lazy-cloud-heartbeat-client-sample</module>
|
||||
<module>wu-lazy-cloud-heartbeat-server-sample</module>
|
||||
<module>wu-lazy-cloud-heartbeat-client-start</module>
|
||||
<module>wu-lazy-cloud-heartbeat-server-start</module>
|
||||
</modules>
|
||||
<properties>
|
||||
<java.version>17</java.version>
|
@ -9,8 +9,8 @@ mvn native:build -Pnative
|
||||
```
|
||||
### 构建docker镜像
|
||||
```shell
|
||||
docker build -t docker-registry.wujiawei.com/middleground/wu-lazy-cloud-heartbeat-client:1.2.2-JDK17-SNAPSHOT-native-SNAPSHOT_latest -f Native-Dockerfile .
|
||||
docker push docker-registry.wujiawei.com/middleground/wu-lazy-cloud-heartbeat-client:1.2.2-JDK17-SNAPSHOT-native-SNAPSHOT_latest
|
||||
docker build -t docker-registry.wujiawei.com/middleground/wu-lazy-cloud-heartbeat-client-start:1.2.2-JDK17-SNAPSHOT-native-SNAPSHOT_latest -f Native-Dockerfile .
|
||||
docker push docker-registry.wujiawei.com/middleground/wu-lazy-cloud-heartbeat-client-start:1.2.2-JDK17-SNAPSHOT-native-SNAPSHOT_latest
|
||||
```
|
||||
|
||||
|
||||
@ -21,8 +21,8 @@ docker push docker-registry.wujiawei.com/middleground/wu-lazy-cloud-heartbeat-cl
|
||||
|
||||
#docker login --username=1207537021@qq.com registry.cn-hangzhou.aliyuncs.com
|
||||
|
||||
docker build -t registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client:1.2.2-JDK17-SNAPSHOT .
|
||||
docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client:1.2.2-JDK17-SNAPSHOT
|
||||
docker build -t registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.2.2-JDK17-SNAPSHOT .
|
||||
docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.2.2-JDK17-SNAPSHOT
|
||||
|
||||
```
|
||||
|
||||
@ -49,7 +49,7 @@ mvn native:build
|
||||
```
|
||||
|
||||
```RUN
|
||||
docker run -d -it -p 18080:18080 --name wu-lazy-cloud-heartbeat-client registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client:server-jdk17-master
|
||||
docker run -d -it -p 18080:18080 --name wu-lazy-cloud-heartbeat-client-start registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:server-jdk17-master
|
||||
|
||||
http://127.0.0.1:18080/swagger-ui/index.html
|
||||
|
@ -4,12 +4,12 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>top.wu2020</groupId>
|
||||
<artifactId>wu-lazy-cloud-heartbeat-sample</artifactId>
|
||||
<artifactId>wu-lazy-cloud-heartbeat-start</artifactId>
|
||||
<version>1.2.2-JDK17-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>wu-lazy-cloud-heartbeat-client-sample</artifactId>
|
||||
<artifactId>wu-lazy-cloud-heartbeat-client-start</artifactId>
|
||||
<description>云下心跳客户端</description>
|
||||
|
||||
<properties>
|
@ -8,8 +8,8 @@
|
||||
|
||||
mvn clean install
|
||||
|
||||
docker build -t registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server:1.2.2-JDK17-SNAPSHOT .
|
||||
docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server:1.2.2-JDK17-SNAPSHOT
|
||||
docker build -t registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.2.2-JDK17-SNAPSHOT .
|
||||
docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.2.2-JDK17-SNAPSHOT
|
||||
|
||||
```
|
||||
|
||||
@ -26,7 +26,7 @@ mvn native:build
|
||||
```
|
||||
|
||||
```RUN
|
||||
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.2.2-JDK17-SNAPSHOT
|
||||
docker run -d -it -p 18080:18080 --name wu-lazy-cloud-heartbeat-server-start registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server-start:1.2.2-JDK17-SNAPSHOT
|
||||
|
||||
http://127.0.0.1:18080/swagger-ui/index.html
|
||||
|
@ -4,13 +4,13 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>top.wu2020</groupId>
|
||||
<artifactId>wu-lazy-cloud-heartbeat-sample</artifactId>
|
||||
<artifactId>wu-lazy-cloud-heartbeat-start</artifactId>
|
||||
<version>1.2.2-JDK17-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>wu-lazy-cloud-heartbeat-server-sample</artifactId>
|
||||
<artifactId>wu-lazy-cloud-heartbeat-server-start</artifactId>
|
||||
<description>云上心跳服务端</description>
|
||||
|
||||
<properties>
|
Loading…
x
Reference in New Issue
Block a user