Docker, Kubernetes, & PHP: Laravel Edition (Part III)
In this episode, joined by Ciaran McNulty & Alex Bowers, we take a look at the best practices for developing Laravel PHP applications with Docker, Docker Compose, and Kubernetes.
Our focus is on PHP applications run with nginx and php-fpm. This episode is a follow up to my "Kickass Development Environments with Docker" talk that I gave from 2016-2018.
Dubbed "The PHP Framework for Web Artisan", Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
🕰 Timeline
00:00 - Holding screen
01:35 - Introductions
03:00 - Context - What have we done thus far?
05:50 - Automating the npm watcher
12:00 - Automating database migrations
18:00 - Confirming live reload works
22:10 - Getting hot module reload working
58:00 - Adding database persistence
1:03:00 - Running the tests
1:05:10 - Optimising our Dockerfile layers and caching
💁🏻♂️ Want some help?
💬 Leave a comment
🐦 Ping me on Twitter - https://twitter.com/rawkode
📆 Schedule some time during my office-hours - https://rawko.de/office-hours
🌎 Links
Ciaran McNulty - https://twitter.com/CiaranMcNulty
Alex Bowers - https://twitter.com/bowersbros
Code from Tutorial - https://gitlab.com/rawkode/php-examples
Technologies used in this video
Related Videos

Docker, Kubernetes, & PHP: Laravel Edition (Part II)

Docker, Kubernetes, and PHP: Laravel Edition

Monitoring & Scaling Laravel on Kubernetes (Part II)

Comments