Kubernetes for Laravel: From Docker to Production K8s
Deploy Laravel to Kubernetes step by step. Container setup, Deployments, Services, Ingress, ConfigMaps, horizontal scaling, and production best practices.
7 articles
Containerization with Docker for PHP/Laravel applications. Covers Docker Compose, multi-stage builds, development environments, and production deployments.
Deploy Laravel to Kubernetes step by step. Container setup, Deployments, Services, Ingress, ConfigMaps, horizontal scaling, and production best practices.
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.