Spring Boot 3.1.0 New Feature 🚀 | Docker Compose Module | JavaTechie

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 เม.ย. 2023
  • In this Tutorial, we will discuss spring boot 3.1.0 new module i.e spring boot docker compose , This module will start/stop your containers for you that are declared in a Docker Compose file.
    #JavaTechie #springBoot
    Spring boot microservice Premium course lunched with 70% off 🚀 🚀
    Hurry-up & Register today itself!
    COURSE LINK : javatechie5246.ongraphy.com/
    PROMO CODE : JAVATECHIE50
    Join this channel to get access to perks:
    th-cam.com/users/javatechiejoin
    GitHub:
    github.com/Java-Techie-jt/spr...
    Blogs:
    / javatechie
    Facebook:
    / javatechie
    guys if you like this video please do subscribe now and press the bell icon to not miss any update from Java Techie
    Disclaimer/Policy:
    --------------------------------
    Note : All uploaded content in this channel is mine and its not copied from any community ,
    you are free to use source code from above mentioned GitHub account
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 52

  • @aadiraj6126
    @aadiraj6126 ปีที่แล้ว +10

    Wow...in love with these new features. Slowly but surely Boot is simplifying everything, once spring developer had to suffer, now using docker will be easy peasy even for kids 🥰

  • @nasirkhansirajbhai8016
    @nasirkhansirajbhai8016 ปีที่แล้ว +1

    amazing.. the way 3.1 supports docker compose and the way this video clarifies it in simple way.. thank you @javatechie for all your videos..

  • @crimsonx_
    @crimsonx_ ปีที่แล้ว +1

    this kind of concept was thought by myself and my co worker.. thankfully it is here ❤

  • @robbertstapel788
    @robbertstapel788 ปีที่แล้ว +1

    Really good teacher, simple examples which makes it good to code along :) thanks bro!

  • @phanimc11211
    @phanimc11211 ปีที่แล้ว +1

    AS USUAL VERY INFORMATIVE AND RESOURCEFUL,thx

  • @gopisambasivarao5282
    @gopisambasivarao5282 ปีที่แล้ว +1

    Nice Video, Thanks @java techie

  • @sajeeshkumar4510
    @sajeeshkumar4510 ปีที่แล้ว +1

    Thanks for this nice tutorial.

  • @user-fr8cd7ls3u
    @user-fr8cd7ls3u ปีที่แล้ว +1

    Super my brother

  • @Niteshkumar-bq4hs
    @Niteshkumar-bq4hs ปีที่แล้ว

    Hi, I was referring spring with mongodb dockrization, I don't know where it is storing tha data, but my requirement. Is I already have a db in my local I want connect with that,please help

  • @abbasrizvi1533
    @abbasrizvi1533 10 หลายเดือนก่อน

    @Javatechie where can we get our data if we do not have physical database, means by pulling postgres image and used once application get stop we lost our data right? that confusion I have please tell.

  • @akashkharade2259
    @akashkharade2259 ปีที่แล้ว +1

    First view and comment. Great explanation

  • @praveenkpk3377
    @praveenkpk3377 11 หลายเดือนก่อน +1

    Just one question. From where does the image for postgres get pulled in? Like for maven dependencies, we have a central repository. Anything similar to that for docker-compose? And without mentioning the db URL, how it works?

    • @Javatechie
      @Javatechie  11 หลายเดือนก่อน

      It will fetch from central docker hub

  • @technical_madne3329
    @technical_madne3329 ปีที่แล้ว

    Sir i have one question, Docker Desktop have to download in my system before using docker compose feature. is it compulsory or spring automatically handle it?

  • @Aniruddhdwivedi
    @Aniruddhdwivedi ปีที่แล้ว +1

    Hi Basant! as a prerequisite of this tutorial, We need docker up and running in our machines. Generally docker for windows have many issues. Do you have any link of your previous videos where you described how can we do this in windows 11 machines?

    • @Javatechie
      @Javatechie  ปีที่แล้ว

      I have tried in windows 10 but not in 11 , what was the issue in 11 you are facing

    • @UdhavSaraswat-mx6vl
      @UdhavSaraswat-mx6vl ปีที่แล้ว

      checkout this video, this might help installing and running docker in windows 10/11 using wsl 2,
      th-cam.com/video/NAmr0fW5SC0/w-d-xo.html

  • @norulshahlamjohn1140
    @norulshahlamjohn1140 11 หลายเดือนก่อน

    this new feature changes the way we setup our local db.. no more property file config!

  • @ashishk3558
    @ashishk3558 ปีที่แล้ว +1

    Hello sir, plz create a full series on spring boot. Try to cover most of the annotations and other features. Please

    • @Javatechie
      @Javatechie  ปีที่แล้ว

      Hi Ashish please check this th-cam.com/video/htyq-mER0AE/w-d-xo.html

  • @RiteshShetty77
    @RiteshShetty77 ปีที่แล้ว +1

    Thanks for the Great video. Does it work with Rancher Desktop?

    • @Javatechie
      @Javatechie  ปีที่แล้ว

      No idea about Rancher

  • @bhavanisankar71
    @bhavanisankar71 ปีที่แล้ว +1

    Sir I have one doubt in entity class variables we can use both wrapper class and primitives but which one is best

    • @Javatechie
      @Javatechie  ปีที่แล้ว

      Yes we can use both, it's good to play with a wrapper object rather than primitive

  • @ashwinir5110
    @ashwinir5110 ปีที่แล้ว +1

    Any offline course available?

  • @AleksandarT10
    @AleksandarT10 ปีที่แล้ว +1

    This all is good for development and everything, but how would you deploy this to Prod? The properties would need to be specified for that.

    • @Javatechie
      @Javatechie  ปีที่แล้ว

      This is recommended only for development buddies not for prod

    • @norulshahlamjohn1140
      @norulshahlamjohn1140 ปีที่แล้ว +1

      was thinking the same

  • @rishiraj2548
    @rishiraj2548 ปีที่แล้ว +1

    👍🙏🙏

  • @skumakerguitar8708
    @skumakerguitar8708 ปีที่แล้ว +1

    What the cons of docker compose running at the same time with spring boot?

    • @Javatechie
      @Javatechie  ปีที่แล้ว

      You should understand why docker and docker compose required

  • @nehrumariappan7880
    @nehrumariappan7880 ปีที่แล้ว +1

    How you are getting formatted json in browser response

    • @Javatechie
      @Javatechie  ปีที่แล้ว +1

      I have added pojoschematojson plugin in chrome browser

  • @enggadda
    @enggadda ปีที่แล้ว +1

    its asking me for docker login and that is why its failing with this error "Stderr:
    db Pulling
    db Error
    Error response from daemon: pull access denied for postgre, repository does not exist or may require 'docker login': denied: requested access to the resource is denied"
    i have started the docker desktop and its properly running on my machine .
    please help me with this.

    • @Javatechie
      @Javatechie  ปีที่แล้ว

      Are you using the latest docker desktop ? It shouldn't ask for login . It might be different for os let's give a try try do docker login with your docker hub credential

  • @aadiraj6126
    @aadiraj6126 ปีที่แล้ว +1

    Hi Basant, I just copied your code & started my docker engine however I'm getting error as...
    FATAL : Password Authentication failed for user 'postgres'
    Is there any default password for postgres using docker ?

    • @Javatechie
      @Javatechie  ปีที่แล้ว

      Can you please Try with the same credential that I have mentioned

    • @aadiraj6126
      @aadiraj6126 ปีที่แล้ว

      @@Javatechie ya tried with both, the one you gave...and the one I've for my locally installed postgres...also tried with removing username, password attributes.. nothing working

    • @Javatechie
      @Javatechie  ปีที่แล้ว +1

      Do you have installed postgres in your machine? If yes can you please stop that service

    • @aadiraj6126
      @aadiraj6126 ปีที่แล้ว +1

      @@Javatechie Thank you for the solution. It worked like a charm. See, sometimes silly things kills our huge time, yesterday I spent whole night but nvr thought to stop that daemon process of postgres db engine 😁

    • @abbasrizvi1533
      @abbasrizvi1533 10 หลายเดือนก่อน

      @@Javatechie where can we get our data if we do not have physical database, means by pulling postgres image and used once application get stop we lost our data right? that confusion I have please tell.

  • @rahulcse3970
    @rahulcse3970 6 หลายเดือนก่อน +1

    I am getting No docker compose file found in directory why?

    • @Javatechie
      @Javatechie  6 หลายเดือนก่อน

      Is your docker compose file present in root directory

    • @rahulcse3970
      @rahulcse3970 6 หลายเดือนก่อน +1

      @@Javatechie yes it is in root only and i am using spring 3.2.1 version

    • @Javatechie
      @Javatechie  6 หลายเดือนก่อน

      @@rahulcse3970 please share your error message with screenshot to javatechie4u@gmail.com

  • @hemanth1687
    @hemanth1687 ปีที่แล้ว +2

    Is there anyway to integrate it with kubernetes

    • @Javatechie
      @Javatechie  ปีที่แล้ว +1

      Yes spring kubernetes module is there

    • @hemanth1687
      @hemanth1687 ปีที่แล้ว +2

      If possible can you please make video on that as well I think that is really required

    • @Aniruddhdwivedi
      @Aniruddhdwivedi ปีที่แล้ว

      @@Javatechie yes Basant, please make one video on spring-boot-kubernetes module as well.

  • @aayush5474
    @aayush5474 ปีที่แล้ว +1

    This kills h2 database for testing

    • @Javatechie
      @Javatechie  ปีที่แล้ว

      No not exactly but you can use a test container rather than h2