~/talk

How to Create PHP Development Environments with Docker Compose

Talkat DockerCon 2020 · on Thursday, 2020-05-28· [php]
slides:none on file

Step-by-step recipe for a working PHP dev stack using Docker Compose: a Dockerfile builds a PHP 7.4 FPM image that installs required PHP extensions and copies Composer from the official composer image, creates a user matching host UID for correct file permissions, and the docker-compose.yml wires three services — Nginx (Alpine) port-mapped to localhost:8000, MySQL 5.7 with a docker-entrypoint-initdb.d SQL dump that preloads data for a Laravel 6 app. Commands shown: git download, docker-compose up, then docker-compose exec app composer install and php artisan key:generate, after which the Travellists app responds in the browser.

AI-written summary · about

  1. 0:00How to Create PHP Development Environments with Docker Compose
  2. 1:13Introduction Development Environments, PHP, and Docker Compose
  3. 8:57Case Study application
  4. 12:53Setting Up a docker-compose.yml Configuring our service containers, volumes and networks
  5. 30:40Part 3 Demo Time
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.