Open jabrena opened 6 years ago
what you mean the whole? do think in run the whole thing in a single docker, each component need a docker, then they could scale and deploy independently.
If not you are just doing a distribute monolith: https://www.infoq.com/news/2016/02/services-distributed-monolith
No, the idea is to run every component in a different container.
The docker image should run:
https://spring.io/guides/gs/spring-boot-docker/ http://www.baeldung.com/dockerizing-spring-boot-application http://containertutorials.com/docker-compose/spring-boot-app.html https://dzone.com/articles/running-spring-boot-in-a-docker-container