Author: Karsten Silz
Dec 6, 2020 1 min read

Permalink: https://betterprojectsfaster.com/learn/article-baeldung-spring-boot-postgresql-docker-compose/

Baeldung Article: Running Spring Boot with PostgreSQL in Docker Compose

PostgresSQL logo

I wrote an article for Baeldung on running a Spring Boot application with the popular open-source database PostgreSQL in Docker Compose.

  • We start by creating a Spring Boot application for PostgreSQL.
  • Next, we write a Docker Compose file to run our application container with a PostgreSQL container.
  • Finally, we create a customer entity and repository, which allows us to save a customer to PostgreSQL.

The article is available here.

Part 5 of 6 in the Articles series.
« Baeldung Article: Common Shortcuts in IntelliJ IDEA | Baeldung Article: Reducing JSON Data Size » | Start: Baeldung Article: Using gzip and gunzip in Linux

Java Tech Popularity Index Q4/2023:
Developer job ads dipped 30% in 2023. Monthly Stack Overflow questions dropped 42% since ChatGPT, with JavaScript at -56% and Python at -59%. Since June 22, Udemy's first-time Python course purchases have outpaced Java's 7.1 million to 2 million. Job ads for Quarkus and Micronaut continue to rebound.

Read my newsletter


comments powered by Disqus