Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 692 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 692 Bytes

spring-cloud-MSA-Service

Discovery Service

  • server.port: 8761

ApiGateway Service

  • server.port: 8000

First Service

  • server.port: 8001

Second Service

  • server.port: 8002

User Service

  • server.port: 9001, 9002, 9003, 9004

gradlew run

  • ./gradlew bootRun --args='--server.port=9003'
  • ./gradlew bootRun

gradlew build

  • ./gradlew build
  • java -jar -Dserver.port=9004 ./build/libs/user-0.0.1-SNAPSHOT.jar

maven SpringBoot run

  • mvn spring-boot:run -Dspring-boot.run.jvmArguments=’-Dserver.port=9003’

maven Build

  • mvn clean
  • mvn complie package
  • java -jar -Dserver.port=9004 ./target/user-0.0.1-SNAPSHOT.jar