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 Q2/2023:
The number of developer ads is down in 2023 by about 25%. Spring Boot is back to 500% of Jakarta EE job ads, while Quarkus and Micronaut rose again after a four-month decline. The monthly number of Stack Overflow questions is down 42% since ChatGPT appeared.

Read my newsletter


comments powered by Disqus