[Docker] How to install an Nginx, MySQL, PHP (LEMP) stack in 60 seconds (2020)

Опубликовано: 04 Октябрь 2024
на канале: Gary Clarke
10,344
138

ℹ In this recording I demonstrate how YOU can install an Nginx, MySQL, PHP (LEMP) stack in 60 seconds on any computer and the only pre-requisites are that you have git and Docker.

📺 This is a shortcut that will take you to the same end result as I achieved in this video:
   • Create a Symfony 5 project with Docke...   - Create a Symfony 5 project with Docker PHP MySQL Nginx and Node - Part1

But not everyone wants to work through a 22 minute tutorial...they just want the end result...and I get that, because I've quite often been that guy.

So in this recording I show you how to clone the repo and then spin everything up with a simple docker-compose command. Then I just add an index file to the public folder, check my browser, and BOOM...a living LEMP stack in 60 seconds.

💻Source code here:
https://github.com/GaryClarke/nginx-p...

📺 If you want to take things one step further, then you can follow this tutorial:
   • Create a Symfony 5 project with Docke...   - Create a Symfony 5 project with Docker PHP MySQL Nginx and Node - Part2

..then add Symfony, connect to a DB admin tool, pull in Webpack Encore, and compile some assets. If that sounds like your kinda thing...you'll LOVE IT!

🆓 Join garyclarke.tech for course DISCOUNTS and a FREE Docker + PHP course (worth $49)
https://www.garyclarke.tech

👇Follow me on Social Media:
Twitter:   / garyclarketech  
Linkedin:   / garyclarketech  

💕Show support:
https://www.paypal.com/donate/?hosted...