Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

readme.md

Outline

Easy Spring Cloud Eureka Server

快速启动分布式微服务注册中心。

Configuration

  • hosts(Local clusetr test)

     127.0.0.1 host1
     127.0.0.1 host2
     127.0.0.1 host3
    
  • Standalone Mode

    Port:8701

  • Cluster Mode

     eureka.instance.hostname=YOUR-HOST-NAME
     eureka.client.serviceUrl.defaultZone=YOUR-CLUSTER-NODES

Run

  • Standalone Mode

  • Cluster Mode

     spring.profiles.active=host1

    or

     mvn springboot:run -Dspring.profiles.active=host2

    or

     java -jar xxxx.jar --spring.profiles.active=host3

END

Morty Proxy This is a proxified and sanitized view of the page, visit original site.