Dockerizing Django
summary
Argues that containers make development identical to production and starts from a concrete Dockerfile and docker-compose that builds a Django app plus Postgres, exposes ports, and runs tests and debugging from PyCharm; demo runs as a 3-container setup (web, db, nginx) and successfully debugs inside Docker. Uses Docker, docker-compose, Postgres, gunicorn, nginx, PyCharm. Notes VMs boot in ~3–4 minutes vs containers in seconds, image sizes: Debian ~750MB, Ubuntu ~230MB, Alpine ~8MB; a 5-container Celery branch also exists.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 1:07What is Docker
- 9:59Dockerizing Django app
- 21:19Production setup with Gunicorn
- 27:14Adding Nginx for static files
- 31:29Deployment and Q&A
related talks
45mRunning Django on Docker: a workflow and code
19mDocker as a replacement for virtualenv
30mHow to Create a Great Local Python Development Environment with Docker
34mModern development environments for Pythonistas
01h 02mDocker for Data Science: Reproducibility and Deployment
29mBest Practices for Compose-managed Python Apps
27mDocker + Python
23mCleaning Up Your Python Environment Superfund Site
