This post mainly based on this blog: https://docs.docker.com/compose/django/. I will be extending this post by serving django+gunicorn using Nginx, also I will using Postgresql docker container to use it as database. Steps Lets not waste time and go to the following steps. 1. Let’s make an empty directory named myproject and add another folder inside name it src.