How to build a Docker development setup for PHP Projects [Tutorial Part 3]

  • You are here: Free PHP » Uncategorized » How to build a Docker development setup for PHP Projects [Tutorial Part 3]

In the third part of this tutorial series on developing PHP on Docker we'll lay the fundamentals to build a complete development infrastructure and explain how to "structure" the Docker setup as part of a PHP project. Structure as in

  • folder structure ("what to put where")
  • Dockerfile templates
  • solving common problems (file permissions, runtime configuration, ...)

We will also create a minimal container setup consisting of php-fpm, nginx and a workspace container that we refactor from the previous parts of this tutorial.