Docker Dev Environment (Part 3): PHP-FPM, Multiple Databases & Dev Tools
Complete the Docker dev environment with multi-version PHP-FPM containers, MySQL 5.7/8.0/8.4, Adminer, Mailpit for email testing, and a Makefile workflow for daily development.
6 posts
Complete the Docker dev environment with multi-version PHP-FPM containers, MySQL 5.7/8.0/8.4, Adminer, Mailpit for email testing, and a Makefile workflow for daily development.
Deep dive into the Nginx reverse proxy: how the map directive routes traffic dynamically, writing vhost configs for PHP projects, and setting up self-signed SSL for local HTTPS.
Build a Docker-based local development environment that handles multiple PHP projects, multiple PHP versions, databases, and dev tools — all through a single Nginx reverse proxy.
The final part of the Building SaaS series: deploying to production with Docker, Nginx, wildcard SSL, CI/CD pipeline, monitoring, and scaling strategies.
Stop deploying GB-sized Docker images. Learn to use Multi-stage builds, Alpine Linux, and layer optimization to create ultra-light and secure Laravel images.
How to instantly set up a consistent development environment using Laravel Sail and Docker.