- A Cloud Guru
Setting Up an Environment with Docker Compose
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.
Table of Contents
Create a Docker-Compose File
Run the Containers
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.