Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 886 Bytes

README.md

File metadata and controls

46 lines (36 loc) · 886 Bytes

spring-boot-microservice-demo

Example of a Microservices application written in Java with Spring Boot

To run this project

$ docker build --tag=alpine-jdk:base --rm=true .

Create volumes:

docker volume create --name=mysql-data
docker volume create --name=config-repo
mvn clean package -DskipTests
docker-compose up --build

To access Eureka Server, go to url: http://localhost:9091/

In order to access to UI, go to url: http://localhost:8081/

  • MySQL container:
    • hostname: mysql-machine
    • Ports : 6603:3306 (<host_port>:<container_port>)
    • Username/Password: root/mypassword
  • config-server:
  • service-discovery:

License

MIT