Skip to content

ksloo1788/spring-boot-3-microservices-with-docker

Repository files navigation

Microservices Architecture With Spring Boot, Spring Cloud and Docker

This project demonstrates how to create a microservices architecture with Spring Boot and Spring Cloud. It also shows how to package each application in Docker containers and run them with Docker Compose.

Prerequisites:

Content

Getting Started

To install this example application, run the following commands:

git clone https://github.com/ksloo1788/spring-boot-3-microservices-with-docker.git
cd spring-boot-3-microservices-with-docker

Run the following command from the root folder to create Docker containers to build Java libraries for all Spring Boot Applications.

./mvnw clean install

Then you can start your microservices architecture using Docker Compose:

docker-compose up --force-recreate --build -d

Last but not least, you can remove all dangling images:

docker image prune -f

TIP: After everything starts, you should be able to check Eureka Service Registry at http://localhost:8010.

Links

This project uses the following open source projects:

Help

Please post any questions as comments on this repository or email us.

License

GNU General Public License v3.0, see LICENSE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published