Skip to content

Baeldung: Running Spring Boot with PostgreSQL in Docker Compose

Published on · 1 min read
PostgresSQL logo

Share

What It’s About

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.

Read the Article

The article is available on Baeldung: Running Spring Boot with PostgreSQL in Docker Compose.