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 :)
Buy My New Book on Amazon:
Get My Book for FREE:
Hi, my name is Jan. I am Evernote Certified Consultant and the founder of THE SYSTEM2.
I started my IT career as a Pascal programming language student in 1994. Later I discovered the potential of the web and co-founded WEBXP company, where I created websites and web applications for local businesses.
In 2000, I started working for a German-based company Caatoosee, where I was the part of a team creating the top of the line web shop for than famous Breuninger Mode & Beauty online
At that time I also started my very own LAMP (Linux, Apache, MySQL, PHP) project and designed, developed and published one of the first so-called discussion servers, that were very popular in my country years before the Facebook became the worldwide success. After 16 years, I am working on its comeback! You can read more about it here.
In 2008, when iPhone SDK was introduced, I moved to mobile apps world and soon published my first verb dictionary for iPhone which you can still find on the App Store.
In 2015, I founded BOHEMIAPPS which evolved from simple iPhone app project to creativity platform focused on iOS and web development.
In 2016, I decided to push my mission even further with SMART PROFIT SCHOOL. I believe that everyone can teach and SMART PROFIT SCHOOL is about helping newcomers start their own online teaching career. I also published my first book in 2016, THE DIGITAL INSTRUCTOR.
In 2017 I focused primarily on productivity, became Evernote Certified Consultant, and published my second book, THE SYSTEM2.
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)