Overview: Dockerizing the Django Project

Get an overview of the topics covered in this chapter.

We'll cover the following

Previously, we learned more about software deployment and deployed our Django application on an AWS server. However, we came across issues such as poor preparation of the project for deployment, violation of some security issues, and deployment and development configuration.

Topics covered in this chapter

In this chapter, we will learn how to use Docker on the Django backend and configure environment variables. We will also configure the database on a web server called NGINX using Docker. Here are the main topics covered in this chapter:

  • What Docker is

  • Dockerizing the Django application

  • Using Docker Compose for multiple containers

  • Configuring environment variables in Django

  • Writing NGINX configuration

Get hands-on with 1200+ tech skills courses.