Containerizing Production PHP

By Michael Akopov

Most developers are aware of Docker, containers, and their general use cases. Maybe you even run it on your local machine. If you’ve ever wanted to take your application, containerize it and run it in production, this article is for you. Building applications for a container world requires a new way of thinking and building apps that are resilient, reproducible, and scalable. This article walks through taking a simple PHP application written in Laravel, containerizing it, building and deploying the images within GitLab, and then leveraging GitLab’s CI/CD pipeline to deploy to production.

This article was originally published in the June 2019 issue of php[architect] magazine. To read the complete article please subscribe or purchase the complete issue.

Leave a comment

Use the form below to leave a comment: