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

Поделиться
HTML-код
  • Опубликовано: 30 сен 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

Комментарии • 50

  • @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 🥰

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

  • @rahulcse3970
    @rahulcse3970 8 месяцев назад +1

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

    • @Javatechie
      @Javatechie  8 месяцев назад

      Is your docker compose file present in root directory

    • @rahulcse3970
      @rahulcse3970 8 месяцев назад +1

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

    • @Javatechie
      @Javatechie  8 месяцев назад

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

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

  • @robbertstapel788
    @robbertstapel788 Год назад +1

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

  • @praveenkpk3377
    @praveenkpk3377 Год назад +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  Год назад

      It will fetch from central docker hub

  • @crimsonx_
    @crimsonx_ Год назад +1

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

  • @phanimc11211
    @phanimc11211 Год назад +1

    AS USUAL VERY INFORMATIVE AND RESOURCEFUL,thx

  • @akashkharade2259
    @akashkharade2259 Год назад +1

    First view and comment. Great explanation

  • @gopisambasivarao5282
    @gopisambasivarao5282 Год назад +1

    Nice Video, Thanks @java techie

  • @RiteshShetty77
    @RiteshShetty77 Год назад +1

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

  • @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?

  • @sajeeshkumar4510
    @sajeeshkumar4510 Год назад +1

    Thanks for this nice tutorial.

  • @nehrumariappan7880
    @nehrumariappan7880 Год назад +1

    How you are getting formatted json in browser response

    • @Javatechie
      @Javatechie  Год назад +1

      I have added pojoschematojson plugin in chrome browser

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

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

  • @norulshahlamjohn1140
    @norulshahlamjohn1140 Год назад

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

  • @abbasrizvi1533
    @abbasrizvi1533 Год назад

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

  • @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,
      ruclips.net/video/NAmr0fW5SC0/видео.html

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

  • @mutturajdeval
    @mutturajdeval Год назад +1

    Super my brother

  • @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 Год назад

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

  • @aayush5474
    @aayush5474 Год назад +1

    This kills h2 database for testing

    • @Javatechie
      @Javatechie  Год назад

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

  • @rishiraj2548
    @rishiraj2548 Год назад +1

    👍🙏🙏

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