Deploy MariaDB & PHPMyAdmin in Seconds with Spring Boot & Docker Compose!
ฝัง
- เผยแพร่เมื่อ 4 ส.ค. 2024
- In this video, we're going to show you how to deploy MariaDB and PHPMyAdmin in seconds with Spring Boot 3.1 and the newly integrated support for Docker Compose.
With this combination, we'll be able to quickly and easily deploy a MariaDB and PHPMyAdmin server using Spring Boot and Docker Compose. This will save you time and give you the flexibility to change your configuration as needed.
Get the Code! github.com/wazooinc/spring-bo...
🔗Grab My Other Products Available:
- Packaging a JavaScript Frontend in Java Spring Boot
erikyuzwa.gumroad.com/l/ospolt
- Build Your First Web Service with Java Spring Boot
erikyuzwa.gumroad.com/l/olosgx
👋🏻Connect with me:
Twitter: / eyuzwa
===---=== Concepts ===---===
- Spring Boot
- Spring Data
- MariaDB
- PHPMyAdmin
- Docker
- Docker Compose
===---=== Chapters ===---===
00:00 - Introduction
00:28 - Start.spring.io
02:48 - Opening project in VS Code
04:01 - Product Model
05:40 - Product Repository
06:41 - Product Controller
08:10 - Updating pom.xml
09:36 - Docker Compose
18:53 - The .env file
21:05 - Server Demo
#java
#springboot
#springboottutorial - วิทยาศาสตร์และเทคโนโลยี
Great job Wazoo , clear and thorough explanations !
Thank you so much! Glad it helped you out!
Had an interesting time in this video with the built-in support for Docker compose! Given how fast I was able to setup a container with database support, I think it's a great time for every spring boot developer!
Thank you.
thanks!
Very good video, thank you for sharing. I have a question; I notice that you don't declare the database connections in the application.properties. Do you do this because you're adding the docker-compose dependency which will handle all that process? It's the first time I've seen this approach where the database connection info isn't declared in the application.properties in several resources I've checked. Could you please clarify? Thank you very much.
yeah you're correct - it was working for me, but it never felt "correct". On my newer videos after this one, I'm always updating application.properties with the environment variables in .env using the dot-env package from maven. So sorry for any confusion!