Showcasing Docker development & packaging of Symfony applications
This (almost) pristine Symfony project aims to document my approach to developing and packaging PHP applications with Docker and docker-compose.
- How to declare and spin up multi-service environments with docker-compose
- How to develop your project leveraging such an environment
- How to integrate XDebug with PHPStorm when working with PHP containers
- How to manage multiple Docker environments inside the same project (i.e. develop, ci, staging, production, etc.)
- How to organize Docker infrastructure code without affecting the rest of the project structure
You can read about the nitty-gritty details at doc/ (Work In Progress)
- Read the docs
- Clone it
- Try to spin up the development environment
- Set up and test the XDebug/PHPStorm integration
- Try to build the production images and spin up the pseudo-production environment
- Ask questions if you have any
- Gimme feedback or submit PRs if you feel like it