No video

Spring Boot Microservices Project Example - Part 9 | Dockerize the application

  Рет қаралды 45,743

Programming Techie

Programming Techie

Күн бұрын

Spring Boot Microservices Project Example - Part 9 | Dockerize the application
This video will teach how to dockerize our application and orchestrate the containers using Docker Compose.
Source Code
github.com/Sai...
⭐️⭐️ You can follow me on Social Media through the below Links⭐️⭐️
Twitter: / sai90_u
Blog: programmingtec...
Dev.to: dev.to/saiupad...
Facebook Page: / programmingtechie

Пікірлер: 138
@manee427
@manee427 Жыл бұрын
Without a doubt the best microservices course in whole internet. Every minute I learned a lot . Keep going .very deep and nice content👌
@JohnDoe-ej6vm
@JohnDoe-ej6vm Жыл бұрын
No doubt the best content.
@kbpmowrya
@kbpmowrya 4 ай бұрын
indeed💌
@doen
@doen Жыл бұрын
"Docker for java" would be awesome addition Mr ... Thank you so much 🙏🏻
@vinodlakshan3018
@vinodlakshan3018 Жыл бұрын
Thank you! this tutorial series is great! I would highly appreciate a "Docker for Java" series!
@brianlitalk
@brianlitalk 3 ай бұрын
the Best of best. Clear, practical, and concise.
@JohnDoe-ej6vm
@JohnDoe-ej6vm Жыл бұрын
12:20 . Waow I didn't expect you also covered jib. You are the best bro . Started from docker then explained docker layerd and then jib. Awesome
@NeerajSharma-mz4es
@NeerajSharma-mz4es 5 ай бұрын
Docker in java that is all we need, your content is gem. Thanks for creating such an awesome content. 🙂🙂
@madhurikumawat3560
@madhurikumawat3560 Жыл бұрын
Best Tutorial on microservices I have ever seen. You must create Docker series. Will help a lot. Thank you
@trustmandi
@trustmandi Жыл бұрын
Great work. Much appreciated😊 A docker tutorial for java developers will be great.
@yananchen7648
@yananchen7648 Жыл бұрын
Best backend tutorial till now! Many thanks for the detailed explanation. Also, I would highly appreciate a "Docker for Java" series!
@kalyanboro6338
@kalyanboro6338 Жыл бұрын
today I completed till part 8 and disappointed that I'll have to wait for weeks for the next video. but this is a great surprise. Thank you sir!!!
@berndeveloper
@berndeveloper Жыл бұрын
Best backend tutorial out there!, congrats good man!, you really cleared my mind
@oyekunlejohnson
@oyekunlejohnson Жыл бұрын
Great work, please a detail series on docker for Java will be of great help. Thanks so much for your time and effort
@sandeepkumararya9949
@sandeepkumararya9949 7 ай бұрын
This one is the best tutorial of microservices on KZfaq. There is one thing that is now available the SAGA pattern implementation, can you please create a SAGA pattern implementation using Kafka.
@aamirshayanshaikh2728
@aamirshayanshaikh2728 Жыл бұрын
Thanks for a quick upload. Your tutorials really teach a lot
@ravi1341975
@ravi1341975 Жыл бұрын
Thank you very much for this wonderful tutorial, please go ahead with the docker tutorial too.
@doen
@doen Жыл бұрын
agree sir..
@user-ct7yh3cr9f
@user-ct7yh3cr9f 7 ай бұрын
Thank you bro ! Get a happy life !!!
@geliyang6495
@geliyang6495 Жыл бұрын
Amazing tutorial. I really appreciate your efforts. Thank you so much
@user-tj9fi9kk2p
@user-tj9fi9kk2p 10 ай бұрын
A Big thank you for making this tutorial. Learned a lot. Need a tutorial on how to deploy these microservices in AWS.
@PappuKumar-ho3ek
@PappuKumar-ho3ek Жыл бұрын
Thanks for uploading this video....nice explanation 👍
@nguyenquan4836
@nguyenquan4836 Жыл бұрын
Many thanks, this is much value video.
@SampathkumarP
@SampathkumarP Жыл бұрын
Fantastic video Sai. This helped me to learn various topics in the Spring world. 😎
@mahammadalishaik6151
@mahammadalishaik6151 22 күн бұрын
Thank you so much and awesome content
@prashantbalotra
@prashantbalotra Жыл бұрын
Great tutorial, Thanks for making this video!
@whoamixrun3851
@whoamixrun3851 8 ай бұрын
Of course we whant. I am waiting to see your docker tutorial :)
@ivansimeonov8342
@ivansimeonov8342 Жыл бұрын
Really good one. Thank you. Would be nice if you make "Docker and Kubernetes tutorial" juxtaposing those and explaining the differences, pros and cons.
@PuneethSharma-rh3xs
@PuneethSharma-rh3xs 4 ай бұрын
Docker tutorial from you, would be great. Love your work
@javasystems5850
@javasystems5850 Жыл бұрын
Yes need every thing about Docker from 0:40
@selandeemantha4933
@selandeemantha4933 Жыл бұрын
Great!!! much appreciate🤩
@vishalghanghav748
@vishalghanghav748 Жыл бұрын
Finally ,I have almost reached an end. Can we expect a Spring ,Angular project with Cloud deployment in future? If no ,please suggest some place where I can find such project with explanation skills close to you
@ProgrammingTechie
@ProgrammingTechie Жыл бұрын
I will plan a blog post with the UI and Kubernetes Deployment
@jonsmith7718
@jonsmith7718 7 ай бұрын
nice video. where is next video refactored for k8S you mentioned?
@santhoshthatikonda9051
@santhoshthatikonda9051 Жыл бұрын
Thanks you.This video very useful to us. Apart from this should share any video about creating how to create docker files in target folder.
@_ravi_kumar_gupta
@_ravi_kumar_gupta Жыл бұрын
Great tutorial 🙏. docker tutorial please.
@iamdavidtega
@iamdavidtega Жыл бұрын
please i would love a docker tutorial for spring boot, thanks
@zazazaza3635
@zazazaza3635 Жыл бұрын
YOU ARE AMAZING. Just when i needed this. thank you. Plaese make a tutorial in depth about the docker-compose file you used in main project. until then, 1 question: is it possible to create independent docker compose files and dockerfiles for each service?
@ProgrammingTechie
@ProgrammingTechie Жыл бұрын
Yes, it's possible to use multiple docker-compose files. For our case, you can use one docker-compose file for all external services like DB, Kafka, zookeeper, keycloak, etc. And another docker-compose file just for our services.
@rashadchalabi
@rashadchalabi Жыл бұрын
Good work!
@MS-rw7uv
@MS-rw7uv Жыл бұрын
First of all, thank you for thi sincredible content. Where did this postgres come from?
@techlead_ashu
@techlead_ashu 3 ай бұрын
17:59 will use docker compose to run the images pushed to docker hub.
@liwen7252
@liwen7252 2 ай бұрын
Great video and thank you so much bro @Programming Techie! One question, please? Where is the video for the k8s related content? It seems the next part of the video is not for k8s...
@amitanvekar7618
@amitanvekar7618 9 күн бұрын
Please do in-depth video on java docker container
@sebagq23
@sebagq23 Жыл бұрын
This is great man, thanks you so much!
@JohnDoe-ej6vm
@JohnDoe-ej6vm Жыл бұрын
0:40 yes sir please docker for java developer and latest ways for spring boot.
@hunghoangngoc7336
@hunghoangngoc7336 Жыл бұрын
Hope to create new video for guiding deploy to ḱ8s in this tutorial
@Rajkumar-oo6bv
@Rajkumar-oo6bv Жыл бұрын
Best video ever
@user-gp5xz
@user-gp5xz Жыл бұрын
Thanks!
@shashank1210
@shashank1210 Жыл бұрын
Please make a series of docker
@bennyInnovator
@bennyInnovator Жыл бұрын
i have a issue! why are we using Postgres configurations instead of using mysql configuration on docker compose?
@asishkumarsatapathy3466
@asishkumarsatapathy3466 Жыл бұрын
Perfect 🙂
@saidurgasrividyaupadhyayul4675
@saidurgasrividyaupadhyayul4675 Жыл бұрын
A complete tutorial on Docker pls :)
@ProgrammingTechie
@ProgrammingTechie Жыл бұрын
Sure srividya 😁
@tonegrail650
@tonegrail650 Жыл бұрын
@@ProgrammingTechie Yes we need that because a lot of the stuff in this section does not work unless there is some pre-existing docker configuration. Please walk us though setting that setup!
@hoangang6586
@hoangang6586 Жыл бұрын
thank you so much for this course💘
@sharathkumarpothula3358
@sharathkumarpothula3358 6 ай бұрын
Good video can you do another video how to deploy microservices application into AWS EKS
@SolidWaveThoughts
@SolidWaveThoughts Жыл бұрын
"Docker for java" Please make this series. Thank you.
@maneshipocrates2264
@maneshipocrates2264 Жыл бұрын
Thanks. I hope you have time to make a docker video.
@maneshipocrates2264
@maneshipocrates2264 Жыл бұрын
Where do we save the settings.xml file containing someone's user name and pwd? It seems you just mentioned it on the fly?
@ismailforeveryone6889
@ismailforeveryone6889 Жыл бұрын
my god , what's a great man
@user-ft2rh3ox8j
@user-ft2rh3ox8j 7 ай бұрын
despite every time reset the Keycloak's docker container we need get secret client agian ,for android client or IOS client that can set the secret client one time in their program per version,how to can handle it ?
@rockdynamics7766
@rockdynamics7766 Жыл бұрын
Hello , This tutorial is so great .Pls accept my thanks. Where is the tutorials on Kubernetes deployment?
@midlajj
@midlajj Жыл бұрын
SIr u can also use alpine jdk, jre for reducing even more sizes
@maheshnadimpally
@maheshnadimpally Жыл бұрын
Need a Docker video like complete guide.
@alexnoutash4380
@alexnoutash4380 Жыл бұрын
Would be great to have a 'Docker for Java' course
@patel5532
@patel5532 Жыл бұрын
Sir, Are you going to also cover the fronted part as well? I mean how to connect our micro-services to the front end? Because no one on the KZfaq covers it. My humble request is to create front end connection part as well. So, After this course as a student we can build our own full stake projects. And Thanks for teaching such a world class education for free.
@Mateusz-dl1mr
@Mateusz-dl1mr Жыл бұрын
As u can see all microservices are exposin one url from api gateway which is lohalhost:8080. All u have to do is fetch data threw this address and u can build frontent.
@Tony_Limitless
@Tony_Limitless Жыл бұрын
Do docker tutorial for Java Please
@javasystems5850
@javasystems5850 Жыл бұрын
Yes needed 36:42
@pianomusiclover4545
@pianomusiclover4545 Жыл бұрын
sir please make video on docker please and saga pattern ,auth services and ELK in this project.
@chinnarajuluk3125
@chinnarajuluk3125 Жыл бұрын
Plz do make video on docker
@toto_frs620
@toto_frs620 Жыл бұрын
Could you make a playlist for keycloak? I would be interested in understanding how to manage roles and permissions
@ProgrammingTechie
@ProgrammingTechie Жыл бұрын
I already have a playlist for Keycloak, but it's missing the roles and permissions part, I will add this to my list.
@toto_frs620
@toto_frs620 Жыл бұрын
@@ProgrammingTechie Thanks in advance, I really think this is the best programming channel. Well done!
@venkatramanab7387
@venkatramanab7387 Жыл бұрын
please create a video on docker
@user-wz1ub8gz7t
@user-wz1ub8gz7t Жыл бұрын
Please make a video for Docker
@manjosh1990
@manjosh1990 Жыл бұрын
Thank you. Can you also make a video on running the services on HTTPS.
@ahmedhayel1979
@ahmedhayel1979 Жыл бұрын
Hi thanks bro for this beautiful course, great work. can you add ELK integration for microservices plz (i guess that you forgot this part) also config server?
@GiuseppeScrugli
@GiuseppeScrugli Жыл бұрын
Why did you choose to expose all services to the host? In my compose project, I opted to create a network and only exposed the gateway and KC. What are your thoughts on my approach?
@nick-sx2zn
@nick-sx2zn Жыл бұрын
Sir please make video on docker with spring boot
@laluprasad3775
@laluprasad3775 Жыл бұрын
Sir please make videos Angular
@aviksutar
@aviksutar 9 ай бұрын
yeah make a docker videos
@RakeshKumar-en1uq
@RakeshKumar-en1uq Жыл бұрын
I need a video docker tutorial for Java project
@JohnWeng-zb3pe
@JohnWeng-zb3pe Жыл бұрын
Nice video. The docker desktop is not free now. So where and how do we install docker now?
@theNikki1
@theNikki1 Жыл бұрын
very nice course! One question still, more related to docker(compose), in the dockercompose file we are not exposing any microservice downstream application (like inventory-service for example) ports. I guess that all is somehow automatically handled by the docker-compose? Otherwise service discovery with running multiple instances of same downstream application would be impossible ?
@anhvuha7484
@anhvuha7484 7 ай бұрын
When running Dockerfile of API Gateway at the start of the video I got ERROR: failed to solve: lstat /var/lib/docker/tmp/buildkit-mount1536772929/target: no such file or directory Can anyone help? I've searched for solutions but still not working.
@ACESpraySo
@ACESpraySo 6 ай бұрын
I'm getting the same error. Did you find any fix?
@helsinkired8523
@helsinkired8523 Жыл бұрын
Hi Man, you're the best. I have one doubt, when in docker profile, we have not added all the properties from application.properties to application-docker.properties. So, how does that work. You've just added the urls in application-docker.properties but other properties are missing. So I did not get how does this work.
@ProgrammingTechie
@ProgrammingTechie Жыл бұрын
The properties in the application.properties file are common across all the profiles. So spring boot will only read the properties defined in the application-docker.properties file, rest of all it will read from application.properties. In this case, I don't need to duplicate the properties in the application-docker.properties file if I have the same value as the original properties file .
@helsinkired8523
@helsinkired8523 Жыл бұрын
@@ProgrammingTechie Thanks man, got it. You're the best.
@JohnDoe-ej6vm
@JohnDoe-ej6vm Жыл бұрын
Could you please create a tutorial on how you set up a parent project and added other Spring Boot modules to it? I have been struggling to create a similar project structure and have been experiencing difficulties with version control when adding modules.
@ProgrammingTechie
@ProgrammingTechie Жыл бұрын
Check out my Maven Tutorial in the section multi module project.
@ramosespann6496
@ramosespann6496 Жыл бұрын
@@ProgrammingTechie Why do you put postgres if the database you are using is Mysql that part I did not understand???? in the docker-compose.yml please
@maxstepanenko7124
@maxstepanenko7124 Жыл бұрын
Are application-docker.properties necessary? Or I just can define all the properties in docker-compose file?
@tararamgoyal2220
@tararamgoyal2220 Жыл бұрын
could you please make a video for docker
@tonegrail650
@tonegrail650 Жыл бұрын
Getting the following error: => ERROR [builder 4/4] RUN java -Djarmode=layertools -jar app.jar extract 0.3s ------ > [builder 4/4] RUN java -Djarmode=layertools -jar app.jar extract: #9 0.336 Error: Unable to access jarfile app.jar ------ executor failed running [/bin/sh -c java -Djarmode=layertools -jar app.jar extract]: exit code: 1
@tonegrail650
@tonegrail650 Жыл бұрын
Solution : I am using Eclipse and I needed to explicitly create the app.jar file using a Maven build. It works fine now. Not sure why you left this step out.
@ilyessaskri5701
@ilyessaskri5701 Жыл бұрын
i have the same issue as you ,did you find a solution ?
@tonegrail650
@tonegrail650 Жыл бұрын
@@ilyessaskri5701 Yes. He omitted the step where you have to run a Maven build for each application. I'm assuming that Intellij auto-generates the jar files but I'm not sure since I use eclipse. Eclipse definitely does not auto-generate them. Do the following steps for each app (module) in eclipse: 1. Right click on the application (module). 2. Select Run as -> Maven Build. On the dialog box within the "Goals" field enther "clean install -X" 3. Check the "Update Snapshots" and "Skip Tests" boxes. 4. Click Run to generate the jar files. 5. At the console within the current app folder (example -"../microservices-new/api-gateway>") execute "docker build -t apigateway-layered -f Dockerfile.layered ." Copy the "Dockerfile.layered" file to each of the root folders of each app (module) and repeat the above steps.
@vishalghanghav748
@vishalghanghav748 Жыл бұрын
@@tonegrail650 Thanks Man
@BeneTanStarcraft
@BeneTanStarcraft Жыл бұрын
@@tonegrail650 Thank you! At least for me, it also did not build the jar in Intellij. In case anyone else finds this. In Intellij: "Run Anything" -> "mvn clean install -X" does the trick.
@senoremc4628
@senoremc4628 Жыл бұрын
You are the best! I have a question, when the docker profile is active, application-docker.properties is read and application.properties is not? If so, shouldn't we copy all the information from application.properties to application-docker properties?how does it work? Thanks!
@ProgrammingTechie
@ProgrammingTechie Жыл бұрын
Hi, when the docker profile is active, the properties configured inside the application-docker.properties are read, there is no need to copy the information one more time inside the docker properties file.
@shamilkagurusinghe2019
@shamilkagurusinghe2019 Жыл бұрын
@@ProgrammingTechie java.lang.RuntimeException: Driver com.mysql.cj.jdbc.Driver claims to not accept jdbcUrl, jdbc:postgresql://postgres-order:5431/order-service- this error occurs when I See the Order service log(docker logs -f order-service)
@redaelmallahi1584
@redaelmallahi1584 Жыл бұрын
@@shamilkagurusinghe2019 i have the same problem
@andreyfetisov7096
@andreyfetisov7096 11 ай бұрын
edit the pom for postgresql @@shamilkagurusinghe2019
@baranemreturkmen9497
@baranemreturkmen9497 5 ай бұрын
Is there any solution about it same error I've got too :( @@shamilkagurusinghe2019
@sandhyaaa24
@sandhyaaa24 Жыл бұрын
where we have to write setting.xml file???
@tonegrail650
@tonegrail650 Жыл бұрын
It should be in c:\Users\\.m2\settings.xml
@yahyawins0550
@yahyawins0550 3 ай бұрын
settings.xml ????
@kennedydre8074
@kennedydre8074 Жыл бұрын
Hi, where can I find the settings.xml file?
@ProgrammingTechie
@ProgrammingTechie Жыл бұрын
User folder/.m2
@0xb0110
@0xb0110 10 ай бұрын
33:05
@ilyessaskri5701
@ilyessaskri5701 Жыл бұрын
where is setting.xml file???
@tonegrail650
@tonegrail650 Жыл бұрын
It should be in c:\Users\\.m2\settings.xml
@laluprasad3775
@laluprasad3775 Жыл бұрын
Sir how to contact you
@ProgrammingTechie
@ProgrammingTechie Жыл бұрын
you can drop an email at programmingtechie@gmail.com
@felixgato27
@felixgato27 Жыл бұрын
Hi Nice tutorial. I am getting an error java.lang.RuntimeException: Driver com.mysql.cj.jdbc.Driver claims to not accept jdbcUrl, jdbc:postgresql://postgres-order:5431/order-service Do I need to install Postgres?
@gayannanayakkara8386
@gayannanayakkara8386 Жыл бұрын
Did u find the solution for this?
@vishalghanghav748
@vishalghanghav748 Жыл бұрын
@@gayannanayakkara8386 Hi gayan ,I recieved same error.Were you able to resolve it?
@gayannanayakkara8386
@gayannanayakkara8386 Жыл бұрын
@@vishalghanghav748 No. Then I tried with Mysql too. I think something is missing here where docker image inter connection create. Tried lots of ways and still not Luck. Had to give up. Let me know here if you were able to find a solution
@vishalghanghav748
@vishalghanghav748 Жыл бұрын
@@gayannanayakkara8386 Ok ,I am trying .No success yet😐
@shamilkagurusinghe2019
@shamilkagurusinghe2019 Жыл бұрын
java.lang.RuntimeException: Driver com.mysql.cj.jdbc.Driver claims to not accept jdbcUrl, jdbc:postgresql://postgres-order:5431/order-service- this error occurs when I See the Order service log(docker logs -f order-service)
@ProgrammingTechie
@ProgrammingTechie Жыл бұрын
Please refer to the GitHub repo, I created branches for each part, please verify your changes with the existing code.
@vishalghanghav748
@vishalghanghav748 Жыл бұрын
Did you find a solution to this?
@pradhidas
@pradhidas Жыл бұрын
@@ProgrammingTechie I verified my changes from part 9 branch in github, but still facing the same error! :(
@andreyfetisov7096
@andreyfetisov7096 11 ай бұрын
verify the inventory-server app.props )@@pradhidas
@user-ix2bd3mj5x
@user-ix2bd3mj5x 10 ай бұрын
@@pradhidas were you able to resolve this issue?
@user-ce3qc3qd8y
@user-ce3qc3qd8y 5 ай бұрын
nice video. where is next video refactored for k8S you mentioned?
@venkatramanab7387
@venkatramanab7387 2 ай бұрын
please create a video on docker
🔥Complete Docker Tutorial in one video for Beginners in Hindi
1:55:37
Learn Code With Durgesh
Рет қаралды 297 М.
Get 10 Mega Boxes OR 60 Starr Drops!!
01:39
Brawl Stars
Рет қаралды 16 МЛН
managed to catch #tiktok
00:16
Анастасия Тарасова
Рет қаралды 36 МЛН
Бутылка Air Up обмани мозг вкусом
01:00
Костя Павлов
Рет қаралды 2,6 МЛН
SpringBoot to Kubernetes in 15 minutes
19:50
EkitLab
Рет қаралды 22 М.
That's NOT How Async And Await Works in .NET!
12:25
Codewrinkles
Рет қаралды 20 М.
Docker tutorial for beginners | [In 2 Hours]
1:50:11
Bouali Ali
Рет қаралды 27 М.
Spring Boot Rest Client Interceptors
14:00
Dan Vega
Рет қаралды 9 М.
Microservices using SpringBoot | Full Example
1:21:39
Daily Code Buffer
Рет қаралды 1 МЛН
Get 10 Mega Boxes OR 60 Starr Drops!!
01:39
Brawl Stars
Рет қаралды 16 МЛН