Symfony + Docker, from development environment to production
summary
Demonstrates a CI/CD pipeline that builds compact, production-ready Docker images for Symfony apps and deploys them to a Kubernetes cluster. Covers concrete techniques: reuse docker-compose during builds, cache-friendly Dockerfile ordering and strict package pinning, caching then removing Composer artifacts, one-process-per-container design, and performing builds inside a Docker-in-Docker daemon with a private registry and automated Kubernetes rollout checks.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:05Symfony with Docker dev & prod
- 3:36Twelve-Factor principles
- 5:20Docker container best practices
- 9:58Docker Compose setup
- 13:54Multi-environment Docker files
- 17:42Optimizing PHP/Symfony Dockerfiles
- 24:01Dev vs prod in containers
- 26:06Advanced production Dockerfiles
- 31:40CI/CD with Docker-in-Docker
- 35:07Private image registries
- 38:01GitLab CI pipeline
- 42:12Kubernetes deploy & rollout
- 43:58Q&A
related talks
58mDeploying your first Symfony application to Kubernetes
46mDocker, Kubernetes, and OpenShift for PHP Developers
50mGetting Started with Kubernetes
39mDocker and the Path to a Better Staging Environment
46mA Security State of Mind: Continuous Security with Kubernetes
46mFrom Docker To Kubernetes: A Developer's Guide To Containers
35mDeploying Your Angular Apps
01h 00mVintage CI/CD. How and Where to Start
