Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore best practices for developing multi-tier Python applications using Docker Compose in this 29-minute talk by Anca Iordache from Docker. Learn how to bootstrap projects, implement efficient development workflows with debugging and automated testing, and create reproducible, optimized builds. Discover techniques for managing versions, dependencies, and configurations to streamline your Python development process. Gain insights into project structure, Docker image creation, database integration, and network separation. Master the development inner loop, container debugging, and local deployment. Includes a hands-on exercise covering project overview, app launching, and querying a Flask server.
Syllabus
Introduction
Challenges
Requirements
Project Structure
Python Service
Docker Image
Docker File
Base Image
Add Database Service
Docker Compose
Sample File
Run Docker Compose
Add Web UI Service
Compose
Separate Networks
Persistence
Dev Inner Loop
Debug Containers
Run locally
Summary
Exercise
Project Overview
Launching the App
Deploy the App
Query Flask Server
Taught by
Docker