/spring-cloud-spring-boot-playground

Playground project containing a default setup including Spring Cloud Netflix Eureka and Config server + Spring Boot Boot applications

Spring Cloud Spring Boot Playground

This playground project contains a default setup including:

  • Spring Cloud Netflix Eureka
  • Spring Cloud Config server
  • Spring Boot applications
  • Spring Boot Admin

Spring Boot & Spring Cloud versions

Spring Boot version Spring Cloud version Branch
2.6.1 and later 2021.0.0 spring-cloud-2021.0.0-spring-boot-2.6.x
2.5 2020.0.4 spring-cloud-2020.0.4-spring-boot-2.5.x
2.5 2020.0.3 (aka Ilford) spring-cloud-2020.0.3-spring-boot-2.5.x
2.4 2020.0.3 (aka Ilford) spring-cloud-2020.0.3-spring-boot-2.4.x
2.3 Hoxton SR 12 spring-cloud-hoxton-sr12-spring-boot-2.3.x

Spring Cloud versions

  • Spring Cloud 2021.0.0
  • Spring Cloud 2020.0.4
  • Spring Cloud 2020.0.3
  • Spring Cloud 2020.0.2
  • Spring Cloud 2020.0.1
  • Spring Cloud 2020.0.0
  • Spring Cloud Hoxton SR 12

Applications and ports

Application Details Port
config-server Spring Cloud Config Server 8888
service-registry Spring Cloud Netflix Eureka 8761
service-a Spring Boot application 8080
service-b Spring Boot application 8081
spring-boot-admin Spring Boot Admin 8082

How to build the projects?

  1. First pick a branch.
git checkout <branch-name>
  1. Run the Maven build
./mvnw clean package
  1. To build the Docker / OCI images for all applications run:
./build-images.sh

How to run the project

docker-compose up -d