DEV Community

Cover image for Step-by-Step Guide: Setting Up a NestJS Application with Docker and PostgreSQL

Step-by-Step Guide: Setting Up a NestJS Application with Docker and PostgreSQL

Tosin Moronfolu on April 10, 2023

NestJS, PostgreSQL, and Docker are three powerful tools that can help you build robust web applications quickly and easily. NestJS is a modern, pro...
Collapse
 
cholasimmons profile image
Chola

Great tut! I haven't touched Docker in a while, I did however encounter "file write permission" errors, I'm guessing this is due to using /app instead of /usr/src/app as a working directory?

Collapse
 
deerhound579 profile image
Sixian Li

Great article. Thanks for sharing!

Collapse
 
chukwutosin_ profile image
Tosin Moronfolu

It's my pleasure

Collapse
 
npolivanov profile image
npolivanov

thank you!

Collapse
 
deleanuradu profile image
Radu Deleanu

Really simple and easy to understand!
Thanks for sharing this with us!

Collapse
 
chukwutosin_ profile image
Tosin Moronfolu

I'm glad it helped you. My pleasure

Collapse
 
sudeep06 profile image
Sudeep1103

Thank You. It was awesome. With some personal tweaking according to my application. I finally deployed my application to the docker server.

Collapse
 
azialex profile image
Alex

Really simple and easy to understand!
Thanks for sharing this with us!

Collapse
 
rafay_zia profile image
Rafay Zia

Thank you for this great article. :)

Collapse
 
justageek profile image
Brian Smith

Would you be able to highlight the changes needed to use mysql? That's all my company uses at this time.

Collapse
 
hovhannes_ghazaryan_0e612 profile image
Hovhannes Ghazaryan

Great article!
Could u help me in my code?