Running Java Spring Boot + MySQL in Docker | Dockerfile + Docker Compose

preview_player
Показать описание
In this video, I will show you how to run a Spring Boot application with a MySQL database in Docker. We'll use a Dockerfile to build the application and Docker Compose to manage containers. This step-by-step guide will help you quickly set up your development environment and deploy the application locally.

📱 Follow us on social media:

🔔 Don't forget to subscribe to the channel so you don't miss new videos!
👍 If you found this video helpful, give it a like and leave a comment. We'd love to hear your feedback!

Timestamps:
0:00 Intro
0:10 Welcome
0:28 Theoretical Overview
1:57 Key Steps with Docker
2:13 Installing Docker
2:50 Creating a Docker Network
4:09 Creating a MySQL Database Image
4:44 Running a MySQL Database Container
6:05 Building the Application Image
6:29 Dockerfile Overview
7:40 Using Variables from the `.env` File
9:20 Creating JAR Files
10:03 Running the Application Container
10:41 Testing the Setup
11:15 Docker Compose Overview
11:33 Writing a Docker Compose File
13:30 Running Docker Compose
14:19 Conclusion!
Рекомендации по теме
join shbcf.ru