mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2025-06-07 22:07:55 +08:00
fix
This commit is contained in:
parent
300ab92ee5
commit
e714395017
@ -14,6 +14,7 @@ docker push docker-registry.laihui.com/middleground/middleground-under-cloud-hea
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## BUILD IMAGE
|
## BUILD IMAGE
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
@ -25,6 +26,16 @@ docker push registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-cl
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
### run
|
||||||
|
```shell
|
||||||
|
docker run -d -it --name client -e spring.middleground.netty.inet-host=124.222.48.62 -e spring.middleground.netty.inet-port=30676 -e spring.middleground.netty.client-id=node1 registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client:server-jdk17-master
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
gu install native-image
|
gu install native-image
|
||||||
|
|
||||||
|
@ -8,8 +8,8 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
public class MiddlegroundUnderCloudHeartbeatClient {
|
public class LazyCloudHeartbeatClient {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
SpringApplication.run(MiddlegroundUnderCloudHeartbeatClient.class,args);
|
SpringApplication.run(LazyCloudHeartbeatClient.class,args);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -9,8 +9,8 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
public class MiddlegroundOnCloudHeartbeatServer {
|
public class LazyCloudHeartbeatServer {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
SpringApplication.run(MiddlegroundOnCloudHeartbeatServer.class,args);
|
SpringApplication.run(LazyCloudHeartbeatServer.class,args);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user