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

This month in "How to Build Java Applications Today":
Spring Boot's zero-day exploit gets worse, New Relic's "State of Java" report, React and React Native surge in job ad mentions, and my InfoQ article series on native Java started to show.

Read my newsletter


comments powered by Disqus