Docker Compose - 2 Spring Boot applications dependent on each other running by using docker compose

Subscribers:
11,000
Published on ● Video Link: https://www.youtube.com/watch?v=tVPej_vnlcc



Duration: 20:25
5,886 views
105


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


2019-09-05Scala and Spring Boot including Jackson json mapping of the built in types
2019-09-04Dozer custom converter and tips and tricks for the Dozer xml files
2019-09-03Spring Boot Populating Database with test data at startup
2019-09-02Spring Boot application being RabbitMq Consumer AND Producer
2019-08-30RabbitMQ - The FanOut, Topic and Direct EXCHANGE types - simulate in management console
2019-08-28Spring Boot Swagger ui and Swagger annotations - Document your endpoints
2019-08-28HashiCorp Vault Http API - Create and get secrets with curl
2019-08-27Docker Multistage Build - Continuous Delivery and Continuous Integration
2019-08-26Docker and IntelliJ - Start and stop and Inspect the filesystem of docker containers
2019-08-25Jenkins Multistage Multibranch Job - Create a workflow with the Jenkinsfile
2019-08-25Docker Compose - 2 Spring Boot applications dependent on each other running by using docker compose
2019-08-24Docker and the Dockerfile - The basic syntax and explaination of EXPOSE
2019-08-22Java 12 Switch Statement with arrow syntax!
2019-08-21Spring Boot MongoDB MongoTemplate and Query
2019-08-20Spring Boot JUnit5 Kotlin
2019-08-19Lambda expressions - Also the method reference :: is explained
2019-08-18Spring Boot and Sftp - Avoid ftp and ftps if possible
2019-08-15Spring Boot - Docker Image with the jar file using the Gradle Docker Plugin
2019-08-14Spring Data Repository - Extract data without knowing sql
2019-08-14Oh my zsh - An alternative to bash
2019-08-13Spring Boot Version from git tag with Gradle



Tags:
java
springboot
springframework
spring boot
docker-compose
docker
dockerfile
docker-compose.yml
docker compose
yml