# ok-eureka
**Repository Path**: ok-cloud/ok-eureka
## Basic Information
- **Project Name**: ok-eureka
- **Description**: A very nice project for eureka!
- **Primary Language**: Java
- **License**: MIT
- **Default Branch**: master
- **Homepage**: http://eureka.xlbweb.cn
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-12-08
- **Last Updated**: 2022-09-02
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
```
__ __
____ | | __ ____ __ _________ ____ | | _______
/ _ \| |/ / ______ _/ __ \| | \_ __ \_/ __ \| |/ /\__ \
( <_> ) < /_____/ \ ___/| | /| | \/\ ___/| < / __ \_
\____/|__|_ \ \___ >____/ |__| \___ >__|_ \(____ /
\/ \/ \/ \/ \/
```
ok-eureka,一个很赞的服务与发现系统工具~
# 1、原生版本
springboot:https://spring.io/projects/spring-boot
springcloud:https://spring.io/projects/spring-cloud
# 2、功能清单
- [x] banner.txt
- [x] logback(xml配置版本)
- [x] assembly打包
- [x] startup.sh
- [x] shutdown.sh
- [x] restartup.sh
- [x] startup.bat
- [x] 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、客户端使用
```
org.springframework.cloud
spring-cloud-starter-netflix-eureka-client
```
```
eureka.client.service-url.defaultZone=http://127.0.0.1:8761/eureka
```