0 Star 1 Fork 0

ok-cloud / ok-eureka

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT
        __                                          __            
  ____ |  | __           ____  __ _________   ____ |  | _______   
 /  _ \|  |/ /  ______ _/ __ \|  |  \_  __ \_/ __ \|  |/ /\__  \  
(  <_> )    <  /_____/ \  ___/|  |  /|  | \/\  ___/|    <  / __ \_
 \____/|__|_ \          \___  >____/ |__|    \___  >__|_ \(____  /
            \/              \/                   \/     \/     \/ 

ok-eureka,一个很赞的服务与发现系统工具~

1、原生版本

springboot:https://spring.io/projects/spring-boot

springcloud:https://spring.io/projects/spring-cloud

2、功能清单

  • banner.txt
  • logback(xml配置版本)
  • assembly打包
  • startup.sh
  • shutdown.sh
  • restartup.sh
  • startup.bat
  • traceId & spanId
  • /actuator/info端点信息

3、组件清单

组件 版本
spring-boot-starter-parent 2.6.1
spring-cloud-starter-netflix-eureka-server 2021.0.0

4、VM部署

1、mvn clean package -Dmaven.test.skip=true

2、上传服务器

3、nohup java -jar ok-eureka.jar >/root/ok-eureka.log 2>&1 &

3、sh bin/startup.sh

5、Docker部署

仓库地址:https://hub.docker.com/r/wudibo/ok-eureka

1、docker pull ok-eureka:1.0.0

2、docker run -d -p 8888:8761 wudibo/ok-eureka

3、http://127.0.0.1:8888

6、客户端使用

<dependency>
	<groupId>org.springframework.cloud</groupId>
	<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
eureka.client.service-url.defaultZone=http://127.0.0.1:8761/eureka
MIT License Copyright (c) 2019 Mr. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

A very nice project for eureka! 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/ok-cloud/ok-eureka.git
git@gitee.com:ok-cloud/ok-eureka.git
ok-cloud
ok-eureka
ok-eureka
master

搜索帮助