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:
All back-end frameworks lost job ad share to Jakarta EE. VS Code was #2 in IDE job ads, beating IntelliJ. React still only had a slim job ads lead over Angular. Python beat Java by 3x for Udemy course buyers. In Stack Overflow questions, Postgres overtook MySQL, and Gradle surpassed Maven.

Read my newsletter


comments powered by Disqus