Skip to content

wslbio/spring-cloud-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

180 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-cloud-example


English | 中文WIKI

spring cloud :

  • spring cloud config
  • eureka zull ribbon feign bus sleuth

Quick Start

Requirements

The requirements for running this example on your machine are found below.

  • Maven 3
  • Java 8
  • Docker 1.13.1
  • Docker Compose 1.10.0

Clone and Build

git clone https://github.com/ThoreauZZ/spring-cloud-example.git
cd spring-cloud-example
mvn clean package -Pdocker

wait for a period of time。

Start

docker-compose up -d

Discovery and config shuld be started before all services. Controlling startup order in Docker Compose:https://docs.docker.com/compose/startup-order/

Here user docker-compose file version 2.1 healthcheck

Test And Verify:

Click [here](doc/1.Test And Verify.md) for details

Architecture

About

我的博客

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Java 95.9%
  • Shell 2.8%
  • Groovy 1.3%