---
title: "Discussion on \"How to setup a PostgreSQL database with Docker Compose\" | Hashnode"
description: "Discussion on \"How to setup a PostgreSQL database with Docker Compose\". When I started learning about databases, Docker didn't even exist yet. So I spent hours trying to make both the database engine and the workspace interface to work, and there are so many little details in the setup that I'm sure you'll find thousands..."
url: "https://hashnode.com/posts/how-to-setup-a-postgresql-database-with-docker-compose/650d9e56bf6d116df1786d6d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to setup a PostgreSQL database with Docker Compose](https://blog.cadumagalhaes.dev/how-to-setup-a-postgresql-database-with-docker-compose?utm_source=hashnode&utm_medium=feed)

When I started learning about databases, Docker didn't even exist yet. So I spent hours trying to make both the database engine and the workspace interface to work, and there are so many little details in the setup that I'm sure you'll find thousands...

Sep 22, 2023 · 4 min read · blog.cadumagalhaes.dev  
Updated Oct 5, 2023  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#databases](https://hashnode.com/tag/databases)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#brazilliandevs](https://hashnode.com/tag/brazilliandevs)

## Written by

[Carlos Magalhães](https://hashnode.com/@1cadumagalhaes)

@1cadumagalhaes · São Paulo, Brazil

  
[View profile](https://hashnode.com/@1cadumagalhaes)

Hi! I'm a Nerd, I love Science and Technology and I'm here to try to change the world! Or maybe just learn something, that's ok for me.

I'm currently working as a Senior Data Engineer (job 1) and as a Solutions Architect &amp; Backend developer (job 2, freelancer). I'm a certified Google Cloud Professional Data Engineer and I really like talking about new technologies. My main focus are: Help people get started Talk about new tools and how we should be using them instead of developing everything ourselves

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
