Skip to main content

Setting Up an Environment with Docker Compose

Hands-On Lab


Photo of

Training Architect





In this Live Environment, you will be creating a development environment using PHP and MySQL for a project you are working on. Because the environment is a bit sophisticated, you’ve decided that it would be easier to build it out using Docker-Compose. Create a Docker-Compose file that sets up a db and webapp container. Use volumes so that your database and PHP files will be persistent.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.