~/talk

Best Practices for Compose-managed Python Apps

Talkat DockerCon 2020 · on Thursday, 2020-05-28· [python]
links:none on file
slides:none on file

Shows how to containerize a Flask+MySQL+Nginx dev stack with Dockerfiles and Docker Compose, demonstrates ordering COPY/RUN to leverage build cache, and uses mount source to /src so code changes reload without rebuilding images. Covers Compose patterns: separate networks for isolation, use Docker secrets for passwords, and named volumes for DB persistence. Demonstrates remote debugging with ptvsd, mapped debugger port and VS Code remote-attach, and the compose up/down + build workflow used to apply dependency or config changes.

AI-written summary · about

  1. 0:00Compose-managed Python apps
  2. 3:03Bootstrapping Python with containers
  3. 8:45Optimizing Dockerfiles
  4. 13:43Network isolation best practices
  5. 15:10Faster development loop
  6. 20:51Live demo updates & debugging
  7. 29:19Summary
~/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.