In this course, 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 🙂
What is Docker, image, and container
How to use Docker Hub and images already available
How to create your own images using Dockerfiles
How to spin up containers, how to stop them and remove them
How to work with volumes (mounted directories)
What is Docker Compose and how it can help you orchestrate containers
How to automatically provision your development environment to a remote server
How to use your code stored in a public GitHub repository
How to deploy your project to Digital Ocean droplet