RichardCSantana-zz / discovery

A sample of spring eureka-service-discovery ready to run standalone or at a Docker environment.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Discovery

##Introduction

A sample of spring eureka-service-discovery ready to run standalone or at a Docker environment. Depends on a configserver.

##Running

###Using spring-boot maven plugin:

  • On Windows:
mvnw.cmd spring-boot:run -Dspring.cloud.config.uri=<config_repo>
  • On Linux/MacOS:
./mvnw spring-boot:run -Dspring.cloud.config.uri=<config_repo>

###Using compiled version:

####Compile:

  • On Windows:
mvnw.cmd clean package
  • On Linux/MacOS:
./mvnw clean package

####Run:

java -jar target/configserver-0.0.1-SNAPSHOT.jar --spring.cloud.config.uri=<config_repo>

###Build on Docker:

####Compile:

  • On Windows:
mvnw.cmd clean package docker:build
  • On Linux/MacOS:
./mvnw clean package docker:build

About

A sample of spring eureka-service-discovery ready to run standalone or at a Docker environment.


Languages

Language:Shell 64.9%Language:Batchfile 30.3%Language:Java 4.8%