~/talk

Dockerizing Django

Talkat PyCon APAC 2018 · 2018-05-31..06-02· [python, web-platform]
slides:none on file

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

  1. 0:00Introduction
  2. 1:07What is Docker
  3. 9:59Dockerizing Django app
  4. 21:19Production setup with Gunicorn
  5. 27:14Adding Nginx for static files
  6. 31:29Deployment and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.