Docker Compose - 2 Spring Boot applications dependent on each other running by using docker compose
Channel:
Subscribers:
11,000
Published on ● Video Link: https://www.youtube.com/watch?v=tVPej_vnlcc
Two Spring Boot applications running in each docker image being build with docker-compose. Then they spun up also by using docker compose.
I have used a command center application and a spaceship application as demo applications in this case.
Both are exposing rest endpoints that gives a status and a destination for the spaceship.
Enjoy! :-)
Feel free to leave me a comment or questions.
The code is located here:
https://github.com/ekim197711/springboot-docker-compose
Follow me on twitter:
https://twitter.com/MikeMoelNielsen
Other Videos By Mike Møller Nielsen
Tags:
java
springboot
springframework
spring boot
docker-compose
docker
dockerfile
docker-compose.yml
docker compose
yml