Setting up PostgreSQL database with a Django Docker application

In this video, I’ll show you how to set up a PostgreSQL database with a Django Docker application. This post follows from a previous post which shows you how to Dockerize a Django REST Framework project. Both videos were inspired by my course Build Your Own Backend REST API using Python and the Django REST Framework on Udemy.

In the course, I build a REST API using Vagrant, but Vagrant is not the only way. You can use Docker, it just has a steeper learning curve. Hopefully, these two posts will help illustrate how to do it. If you have any questions, please let me know in the comments below.

Video demonstration: