Dockerize Laravel: Multi-Stage Dockerfile and Docker Compose Guide
Dockerize Laravel with a tested multi-stage Dockerfile, nginx and Compose queue worker: 771 MB down to 187 MB, 19.7s rebuilds, plus the MySQL healthcheck trap.
10 articles tagged with #Laravel
Dockerize Laravel with a tested multi-stage Dockerfile, nginx and Compose queue worker: 771 MB down to 187 MB, 19.7s rebuilds, plus the MySQL healthcheck trap.
Scale Laravel with Redis: a measured cache stampede, queue timeout rules, Horizon config, and the shared-Redis eviction trap that silently deletes jobs.
Laravel zero downtime deployment with GitHub Actions tests, a symlink deploy script tested on real Laravel, /up health gate, rollbacks, and Forge vs Envoyer pricing.
Why Laravel's queue:retry-batch can silently do nothing on a cancelled batch, and how to recover failed batch jobs safely with a ledger. Tested up to 10,000 jobs.
In January 2021, CVE-2021-3129 showed how much damage one config value can do. On any Laravel app running facade/ignition older than 2.5.2 with APPDEBUG=true, an unauthenticated attacker could…
A Laravel testing strategy with measured costs: what to unit, feature and browser test, shown with a small Pest app and three injected bugs.
A stock Laravel 12 skeleton, built with the Dockerfile most tutorials hand you, lands at 1.24 GB. It ships Composer, git, unzip, the full Node 22 toolchain, nodemodules/ (398 MB on a default Vite…
Learn how we scaled our multi-tenant SaaS from 100 to 50,000+ tenants using Laravel and React. Real architecture decisions, database strategies, and performance optimizations that actually work.
Discover how we achieved 5x request throughput and 60% latency reduction using Laravel Octane in production—without touching our server setup or rewriting code.
Learn how we built a high-traffic e-commerce platform handling 50k+ daily orders using Laravel. Real architecture decisions, performance optimizations, and lessons learned from production.