New in Spring Boot 3.1 - Spring Boot Docker Compose Module

New in Spring Boot 3.1 - Spring Boot Docker Compose Module

Dan Vega

1 год назад

29,635 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Aleksander D.
Aleksander D. - 04.09.2023 14:51

is there any way I can use it for test.
Like this it works for normal use.

Ответить
Никита Мусинов
Никита Мусинов - 22.08.2023 11:14

Thank you for your video ! It’s really cool feature 👍🏻

Ответить
Kaushik Krishnakumar
Kaushik Krishnakumar - 16.08.2023 17:59

Great video Dan. Thanks so much

Ответить
Andrej Popjak
Andrej Popjak - 25.07.2023 09:38

this is soo cool!

Ответить
Colin Campbell
Colin Campbell - 19.07.2023 18:58

Wow this is game changing! Do you know if it's possible to configure docker-compose on profiles active? Trying to use this only for dev profile.
Cheers!

Ответить
LAT
LAT - 18.07.2023 20:39

Great video as always! Quick question- how are you getting all the code auto-generated for you in IntelliJ, without explicitly adding it yourself, like the getters and setters added to the model class? Is there an extension/command in IntelliJ for this?

Ответить
Christiaan Pieters
Christiaan Pieters - 10.07.2023 20:41

Is there a way to get the logging of the containers printed to application logs like with testcontainers?

Ответить
jinghong
jinghong - 30.06.2023 11:49

you really save my life!!!🥲

Ответить
Dariusz Chmieła
Dariusz Chmieła - 28.06.2023 17:38

Docker is not free for commercial use. Planty of conpanies drop it.

Ответить
Mariano J M
Mariano J M - 20.06.2023 02:11

Hi Dan, thanks for your videos, they are always great, maybe you could explain a bit what docker-compose is and how to set it up. Something a little more explained like for someone who just started with microservices and docker. Thank you!!

Ответить
wagner faria
wagner faria - 19.06.2023 14:49

Can you set a docker-compose for each application profile?

Ответить
wagner faria
wagner faria - 19.06.2023 14:41

AWESOME @@

Ответить
codingapi
codingapi - 16.06.2023 17:54

how connect remote docker compose ?

Ответить
Doston Rakhimov
Doston Rakhimov - 13.06.2023 15:22

Thank you this video

Ответить
john triantafillakis
john triantafillakis - 29.05.2023 22:58

Cool in development, how about in prod? :P

Ответить
Petronio Bonavides
Petronio Bonavides - 26.05.2023 04:20

Why dont U use Lombok? Do U think limbok is not a good option?

Ответить
Brijesh Patel
Brijesh Patel - 20.05.2023 15:17

Why dont you just use lombok to generate all the getters and setters for model package… do you see any inefficiencies init? @danvega

Ответить
Arkadiusz Galus
Arkadiusz Galus - 20.05.2023 01:56

HI thank you for tutorial I followed your steps but I receive error like > .PSQLException: FATAL: password authentication failed for user "postgres" and Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] due to: Unable to determine Dialect without JDBC metadata (please set 'javax.persistence.jdbc.url', 'hibernate.connection.url', or 'hibernate.dialect') In your application properties there is nothing about dialect do you have any idea how can I fix it? it is related perhaps to intelidj version ? Thank you in advance for response

Ответить
Miguel Hernandez Zarasua
Miguel Hernandez Zarasua - 13.05.2023 03:23

Thanks for the tutorial Dan, I was able to implement it into one of my personal projects, however now I am working on adding unit tests and it seems like the docker compose does not run with contextLoads, I tried manually adding the url, user and password but I am facing some challenges.

Ответить
Vicarious Greek
Vicarious Greek - 09.05.2023 23:47

I know this may not be so related to the feature presented but… has anyone succeeded running Oracle (oracle-xe) with docker or docker compose on Apple silicon macs? 😢

Ответить
Олексій Сеник
Олексій Сеник - 07.05.2023 23:14

Thanks, great demo! But what about multi module application?
Let's say we have 2 modules CustomerModule and ProductModule in our project, will they recognize docker-compose file in project root folder?

Ответить
Guram Kankava
Guram Kankava - 06.05.2023 11:28

Thank you for a video, i think record can be used with jpa

Ответить
Shubham Goel
Shubham Goel - 01.05.2023 16:39

how do we disable this for prod deployments?

Ответить
Rostik
Rostik - 01.05.2023 07:54

Thank you, dude, for introducing me to the new chips. In our craft, it is vital to keep up with the times👊

Ответить
Khojiakbar Abierov
Khojiakbar Abierov - 30.04.2023 13:20

Hi Dan Vega , Why i get this error when run your code


org.springframework.boot.docker.compose.core.ProcessExitException: 'docker context ls --format={{ json . }}' failed with exit code 1.

Stdout:


Stderr:
unexpected end of JSON input


I also run docker

Ответить
Hamid Reza
Hamid Reza - 28.04.2023 19:17

my fav channel

Ответить
mihir sawant
mihir sawant - 28.04.2023 12:46

It's really awesome 🔥
I tried doing it with mongo image and it's working perfectly

Ответить
Sagar Bhat
Sagar Bhat - 28.04.2023 12:07

Great video as usual Dan. I was not aware of this amazing feature with Spring Boot 3.1.0 RC1. Thanks for talking about this. Btw, just wanted to let you know that your Github Repo link for this demo is not working (getting a Page not found error).

Ответить
Aaryaman Pol
Aaryaman Pol - 28.04.2023 09:04

Hello sir, Can you please enlighten me, with how can I start contributing to an open source java projects. Steps I should take to understand the code and to contribute to it. My background is : I am doing my bachelors degree in computer science currently in my 2nd year and I am learning java from last 3 years. Can you please help me out ?
Mainly, How and from where can I start understanding the code?

Ответить
Dias
Dias - 27.04.2023 08:32

Awesome. Thank you Dan!

Ответить
ShadowVipers
ShadowVipers - 27.04.2023 05:45

Wow this couldn't be better timed, I'm actually working on deploying my spring boot application this week.

Ответить
Rafael Acioly
Rafael Acioly - 27.04.2023 02:43

Sweet!

I wonder if there will be an extension to configure other dependencies such as RabbitMQ, Redis, Kafka etc...

Ответить
Sebastian Torralba
Sebastian Torralba - 27.04.2023 01:37

Super Cool Feature!!! And a Solid Explanation about it!! Thanks

Ответить
Alejandro Martinez Ramirez
Alejandro Martinez Ramirez - 26.04.2023 23:50

Hi Sr. Do you have a course of spring boot from scratch in Udemy?

Ответить
Jeroen Adam Devenijn
Jeroen Adam Devenijn - 26.04.2023 23:21

So for production, assure the passwords as env. variables, then on dev machine, push your project to a container repository eg. using Maven Jib plugin. Finally, on production server pull your container. Spring Boot Docker Compose Module will assure db will be spun up. Something like I described here?

Ответить
Dominik Kovács
Dominik Kovács - 26.04.2023 23:18

What is the use case for using this in production?

Ответить
Alessandro Bx
Alessandro Bx - 26.04.2023 22:56

Awesome features

Ответить
Damoi Myers
Damoi Myers - 26.04.2023 21:48

I've started my Spring journey about a week now and this is definitely something great from the Spring Team. Thank you Dan for explaining how it works. Your tutorials are always simple and easy to follow. 😎

Ответить
void*
void* - 26.04.2023 21:38

Can you give me hints why you choose Integer type for id considering it cannot be null as a PK? Am I missing something here😅

Ответить
Pablo Mora
Pablo Mora - 26.04.2023 20:01

Just out of curiosity. Are you able to see your container running on your computer while your app is up and running?

Thanks

Ответить
Luke GJ Potter
Luke GJ Potter - 26.04.2023 19:53

It looks cool.
May I suggest a video tutorial? On your "Spring to Production" series, where you use this 3.1RC Docker Compose with a Dockerfile and Deploy on Render?

Ответить
bir bir
bir bir - 26.04.2023 19:52

Thank you very very much. Happy coding!!

Ответить
Arexoz
Arexoz - 26.04.2023 19:39

amazing thing cant wait to use it

Ответить
Vishal Matam
Vishal Matam - 26.04.2023 19:22

Awesome feature! Thanks Dan for the video!

Ответить
Trodix89
Trodix89 - 26.04.2023 19:13

Hi, good feature !
But, everytime I reboot my application, all my docker containers will be recreated ?

Also, Is it possible to do a video on Spring Security ACL with Domain Object Security ?

Thank's !

Ответить
Jhonfreddy15
Jhonfreddy15 - 26.04.2023 19:12

Finally!!! 🙌🏽🙌🏽🙌🏽

Ответить