OK Let’s start the docker image creation,įirst, create a file naming as Dockerfile in your project root folder. If you don’t have a good understanding of how to use docker with a spring boot application, you can refer our article on How to Dockerize Spring Boot Application. Then you can use both app and DB images with docker-compose. Hence first you need to have docker image for your spring boot application. You can just go and select the version you need from there.īut your project is still not pushed or published as a docker image. MySQL is already available as a docker image from docker hub MySQL page. Those are the Spring Boot application and MySQL database. In this tutorial, our docker-compose setup using two main services or components. Setup Docker Image For Spring Boot Application
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |