Simplify All the Things with Docker Compose
summary
Demonstrates concrete files and commands: a Compose YAML that replaces repeated docker run calls, a dev image using multi-stage Dockerfile to share dev/prod builds, and a dev workflow using docker-compose up --build plus a mounted node_modules volume. Adds a MySQL service with config files and env vars, fronts services with Traefik reverse proxy, and runs end-to-end tests as a test service that exits to drive CI. All demos run successfully locally.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:21The painful workflow
- 3:09Docker fundamentals
- 5:45Introduction to compose
- 7:03Simplifying with compose
- 9:17Fast development loop
- 12:49Multi-stage builds
- 16:13Adding a database
- 20:57Frontend and proxying
- 24:44Automated testing
- 28:14Conclusion
related talks
50mComposing your Containerized Microservices
28mMulti-Container Applications with Docker Compose
44mDocker and the Path to a Better Staging Environment
01h 00mDocker for development
28mDocker-Composing Your Way to a Better Development Environment
02h 40mDocker Compose 101
34mTest Environments Management with
01h 16mFirst Steps with Docker
