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

Sdílet
Vložit
  • čas přidán 22. 08. 2024
  • 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...
    PROMO CODE : JAVATECHIE50
    Join this channel to get access to perks:
    www.youtube.co...
    GitHub:
    github.com/Jav...
    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

Komentáře • 52

  • @aadiraj6126
    @aadiraj6126 Před rokem +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 Před rokem +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_ Před rokem +1

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

  • @robbertstapel788
    @robbertstapel788 Před rokem +1

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

  • @gopisambasivarao5282
    @gopisambasivarao5282 Před rokem +1

    Nice Video, Thanks @java techie

  • @phanimc11211
    @phanimc11211 Před rokem +1

    AS USUAL VERY INFORMATIVE AND RESOURCEFUL,thx

  • @sajeeshkumar4510
    @sajeeshkumar4510 Před rokem +1

    Thanks for this nice tutorial.

  • @user-fr8cd7ls3u
    @user-fr8cd7ls3u Před rokem +1

    Super my brother

  • @ashishk3558
    @ashishk3558 Před rokem +1

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

    • @Javatechie
      @Javatechie  Před rokem

      Hi Ashish please check this czcams.com/video/htyq-mER0AE/video.html

  • @norulshahlamjohn1140
    @norulshahlamjohn1140 Před rokem

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

  • @akashkharade2259
    @akashkharade2259 Před rokem +1

    First view and comment. Great explanation

  • @praveenkpk3377
    @praveenkpk3377 Před rokem +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  Před rokem

      It will fetch from central docker hub

  • @Aniruddhdwivedi
    @Aniruddhdwivedi Před rokem +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  Před rokem

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

    • @UdhavSaraswat-mx6vl
      @UdhavSaraswat-mx6vl Před rokem

      checkout this video, this might help installing and running docker in windows 10/11 using wsl 2,
      czcams.com/video/NAmr0fW5SC0/video.html

  • @AleksandarT10
    @AleksandarT10 Před rokem +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.

  • @RiteshShetty77
    @RiteshShetty77 Před rokem +1

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

  • @abbasrizvi1533
    @abbasrizvi1533 Před 11 měsíci

    @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.

  • @skumakerguitar8708
    @skumakerguitar8708 Před rokem +1

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

    • @Javatechie
      @Javatechie  Před rokem

      You should understand why docker and docker compose required

  • @bhavanisankar71
    @bhavanisankar71 Před rokem +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  Před rokem

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

  • @enggadda
    @enggadda Před rokem +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  Před rokem

      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

  • @technical_madne3329
    @technical_madne3329 Před rokem

    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?

  • @Niteshkumar-bq4hs
    @Niteshkumar-bq4hs Před rokem

    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

  • @ashwinir5110
    @ashwinir5110 Před rokem +1

    Any offline course available?

  • @aayush5474
    @aayush5474 Před rokem +1

    This kills h2 database for testing

    • @Javatechie
      @Javatechie  Před rokem

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

  • @nehrumariappan7880
    @nehrumariappan7880 Před rokem +1

    How you are getting formatted json in browser response

    • @Javatechie
      @Javatechie  Před rokem +1

      I have added pojoschematojson plugin in chrome browser

  • @rahulcse3970
    @rahulcse3970 Před 7 měsíci +1

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

    • @Javatechie
      @Javatechie  Před 7 měsíci

      Is your docker compose file present in root directory

    • @rahulcse3970
      @rahulcse3970 Před 7 měsíci +1

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

    • @Javatechie
      @Javatechie  Před 7 měsíci

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

  • @hemanth1687
    @hemanth1687 Před rokem +2

    Is there anyway to integrate it with kubernetes

    • @Javatechie
      @Javatechie  Před rokem +1

      Yes spring kubernetes module is there

    • @hemanth1687
      @hemanth1687 Před rokem +2

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

    • @Aniruddhdwivedi
      @Aniruddhdwivedi Před rokem

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

  • @aadiraj6126
    @aadiraj6126 Před rokem +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  Před rokem

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

    • @aadiraj6126
      @aadiraj6126 Před rokem

      @@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  Před rokem +1

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

    • @aadiraj6126
      @aadiraj6126 Před rokem +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 Před 11 měsíci

      @@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.

  • @rishiraj2548
    @rishiraj2548 Před rokem +1

    👍🙏🙏