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 Q1/2024:
Developer job ads down 32% year over year, Stack Overflow questions dropped 55% since ChatGPT. I now recommend IntelliJ Community Edition because many AI code assistants don't run in Eclipse. Job ads for Quarkus hit an all-time high.

Read my newsletter


comments powered by Disqus