Baking with Galley
summary
Galley installs as a small shim around Docker Compose to run a CakePHP app plus MySQL 5.7 in containers, writing a docker-compose.yml and .env, creating a persistent MySQL volume and seeding four articles. Commands shown include Galley up -d, Galley php and Galley cake for containerized PHP, MySQL shell and Cake commands; swapping PHP 8.1 to 7.4 recreates only the app container. Local extensions use docker-compose.override.yml (gitignored) to add MailHog; a send‑mail command and a PHPUnit test confirm one email is captured.
AI-written summary · about
chapters (7)
- 0:00Introduction and setup
- 2:29Installing Galley
- 6:24Running Galley and basic commands
- 9:39Database and shell access
- 13:39Switching PHP versions
- 15:49Extending Galley with services
- 19:26Running tests and aliases
related talks
30mContainerizing legacy applications
49mDocker & PHP development and deployment
01h 16mFirst Steps with Docker
45mAgile Development of CakePHP Web Applications in a Hybrid Kubernetes Cluster
30mSimplify All the Things with Docker Compose
34mTest Environments Management with
42mKickass Laravel Development with Docker
37mLessons learned from dockerizing complex Web Apps
