This project is currently under development.
A base example of a dockerized Spring Cloud architecture.
Applications are separated in Git submodules (every application is a dockerized Spring Boot instance):
- Externalized configuration
- Service Registry and Service Discovery with Netflix Eureka
TODO
Distributed Tracing (Sleuth, Zipkin)
Create a docker network
to let containers communicate to each other:
docker network create spring-cloud-app
In submodules, spring-cloud-app
will be assumed as network name.
Launch the following command to run the application:
docker-compose up
- Boot applications via the previous command
- Navigate through Eureka (http://localhost:8761)
- Navigate through SECOND-CLIENT-APP link
- Call
http://{ip}/example