Table of Contents
- Java JDK 11
- Docker Desktop 3.5.1
- IDE (IntelliJ 2021.1.3)
- PostgreSQL 13
- Apache Maven 3.8.1
mvn clean install
This command Dockerize all microservices automatically if you have dockerize code in pom.xml in services or you can use Dockerfile.
git init
git remote add origin https://github.com/mertbahardogan/spring-cloud-config-server-repository
git pull https://github.com/mertbahardogan/spring-cloud-config-server-repository main
docker-compose up
docker run -d -p 9411:9411 openzipkin/zipkin
After that; You can reach every service. Look at the Port Lists.
If you want to run in docker, just do the following items:
docker-compose -f services.yml up
Services will be running in a few minutes.
If you want to debug, run the following in order:
- config-server
- eureka-server
- gateway-server
- zipkin-server
- After that you can run which service you want. But don't forget dependencies.
Add Index Pattern in Kibana Discover page:
spring-boot-elk-logs-YYYY.MM.dd
- Java
- Spring Boot
- Spring Cloud (Eureka & Config Server)
- Docker and Docker Compose
- Apache Kafka
- PostgreSQL
- Api Gateway
- ELK Stack (Elascticsearch-Logstash-Kibana)
- Keycloak
- Prometheus & Grafana
- Zipkin
- Swagger
- Microservices Architecture
- Layered Architecture
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request