Hello and welcome to the course where I will teach you how Docker can help you with setting up and provisioning a specific development environment for your PHP project.
Even though I use PHP as an example, you can use the whole process for any other combination of microservices you need to use.
We will start with a simple Docker commands, then we will move to Docker Compose.
I will explain how you can use Docker Compose to orchestrate the whole process of creating images and spinning up containers while creating volumes and mounting directories.
Next, we will take a look at GitHub. I will show you how easy it is to use your code stored in a public GitHub repository.
Finally, we will take a look at deployment to the remote server. In this final part, we will put everything together and provision our development environment remotely to Digital Ocean droplet while using code stored in GitHub repository.
Along the way, you should follow me step by step. I suggest you watch this course twice:
- For the first time, do exactly as I say and use my own examples.
- For the second time, try to use your own code stored locally and on your own GitHub account as well.
Attached, you will find the content I am referring to inside the course. It's better to just copy and paste the code than to rewrite it line by line manually.
Enjoy the course and if you have any questions, don't hesitate to drop me a line :)
Start07 Docker Compose & Nginx (11:40)
Start08 Docker Compose & PHP (10:32)
Start09 Fixing Nginx Error (6:16)
Start10 Volumes & Data Containers (3:43)
Start11 Docker Compose & MySQL (11:06)
Start12 Using MySQL CLI (7:28)
Start13 Dangling Volumes (4:49)
Start14 Docker Compose & phpMyAdmin (3:55)