Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Docker, Kubernetes, and PHP: Laravel Edition - Best Practices for Development

Rawkode Academy via YouTube

Overview

Explore best practices for developing Laravel PHP applications with Docker, Docker Compose, and Kubernetes in this comprehensive live tutorial. Learn how to set up a development environment using nginx and php-fpm, create a multi-layer Dockerfile, add PHP extensions, and deploy to Kubernetes. Follow along as the host and guest speaker demonstrate practical techniques, including adding MariaDB to docker-compose.yml, implementing dependencies and health-checks, and using the Docker shell pattern for interactive development. Gain insights on container image specificity, fighting with .env files, and codifying commands with Makefiles. Perfect for web developers looking to enhance their Laravel development workflow with containerization and orchestration technologies.

Syllabus

- Holding screen
- Introductions
- Looking at Flarum
- Switching to pingcrm Thanks @bowersbros
- How specific should I be with container images?
- Adding MariaDB to `docker-compose.yml`
- Adding nginx and fpm to `docker-compose.yml`
- Dependencies and health-checks for `docker-compose.yml`
- Fighting with `.env`
- Interactive development with a the Docker shell pattern dshell
- Add a multi-layer `Dockerfile`
- Adding PHP extensions to the container image
- Adding a `Makefile` to codify commands
- Fighting with nginx
- Deploying to Kubernetes

Taught by

Rawkode Academy

Reviews

Start your review of Docker, Kubernetes, and PHP: Laravel Edition - Best Practices for Development

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.