Dockerizar API REST Java + Spring Boot con PostgreSQL y Docker Compose 2023

Опубликовано: 10 Май 2026
на канале: Programación en español
34,177
1.2k

In this video, I'll show you how to Dockerize a REST API developed with Java and Spring Boot using PostgreSQL and Docker Compose to facilitate the deployment of your apps in production environments.

You'll also learn the basic commands for managing your Docker containers in batches using Docker Compose, and we'll test our Spring Boot REST API using Thunder Client through VS Code.

For this tutorial, I used Eclipse as my IDE for Java development, but you can use any IDE you prefer.

If you liked it or found it useful, don't leave without commenting "happy coding"

#programminginspanish

Video Content:
===
00:00 - Introduction
01:03 - Creating the app
04:27 - Project dependencies
05:48 - Eclipse extensions
06:28 - Developing the API
11:45 - Connecting to the database
13:37 - Dockerfile
16:21 - Docker Compose
24:00 - Testing and fixing
25:26 - Managing containers
28:18 - Testing the API
30:11 - Conclusions

Useful links:
===
Spring initializer:
https://start.spring.io/

Repository with the Code:

https://github.com/pedrovelasquez9/sp...

Devathon:

https://programacion-es.dev/devathon

Community Networks:

https://programacion-es.dev/redes/

Become a member of this channel to enjoy perks, exclusive giveaways within the community, and a badge with your profile picture on the Programación en español website:

   / @programacion-es