Overview
Explore best practices for developing Laravel PHP applications with Docker, Docker Compose, and Kubernetes in this comprehensive tutorial. Learn to create a Slim Framework application, set up a docker-compose.yml file, and configure nginx and php-fpm to replace the PHP dev server. Discover how to leverage complex dependencies with health-checks by switching from Compose 3.x to 2.x, and optimize build cache using a multi-layer Dockerfile. Finally, deploy the application to Kubernetes, gaining practical insights into modern PHP development workflows. This hands-on session, featuring Ciaran McNulty, builds upon the "Kickass Development Environments with Docker" talk and offers valuable tips for web artisans working with the expressive Laravel framework.
Syllabus
- Holding screen
- Introductions
- Creating a Slim Framework application
- Checking out the docker-compose.yml ... oh, did I write this?
- Adding a damn .editorconfig
- Replacing the PHP dev server with nginx and php-fpm
- Ditching compose 3.x for 2.x: leveraging complex dependencies with health-checks
- Adding a multi-layer Dockerfile for build cache goodness
- Deploying our application to Kubernetes
Taught by
Rawkode Academy