I’m writing this blog post to my future self. I’m sure that I will need this docker-compose.yml again.

Today I needed to create a simple database to store some data. I decided to try PostgreSQL.
Cause I’m a bit intrigued by Docker, I decided to run it through a container.

Photo by Jan Antonin Kolar on Unsplash

At first, I used a docker-compose which I found online, everything worked but I had to interact with…

Luca

Computer Science student 🎓👨🏻‍💻🎧

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store