Creating a LEMP stack with Docker Compose

Опубликовано: 08 Июль 2016
на канале: Pentacode (PentaCode)
47,007
695

Daily Webdev Newsletter: https://www.penta-code.com/news

Premium and FREE Courses: https://www.penta-code.com/premium

$100 DigitalOcean hosting coupon: https://m.do.co/c/dba93b1bbe11

Like my videos and tutorials? Consider donating: https://www.paypal.me/pentacode

We'll show you how to create a Linux Nginx Mysql and PHP stack with Docker and Docker Compose

In this tutorial, we’ll set up a LEMP stack via Docker and Docker Compose. If you need a refresher on what Docker is capable of, I recommend you to checkout the following first:

First Look: Docker for MAC / OSX
Using Docker to deploy Apache, Nginx, WordPress and Nodejs containers with Digital Ocean

I will be demonstrating the power of Docker with a local OSX installation of Docker, but you are free to spin up a pre-installed Docker droplet from Digital Ocean.

LEMP stack stands for Linux Nginx Mysql and PHP. It is a bit different from its popular cousin LAMP (Linux, Apache, Mysql, PHP). The reason I like Nginx instead of Apache is purely due to my familiarity with it, I’m confident after this tutorial, you’ll be able to switch Nginx for Apache with ease if you choose to.

Article: http://www.penta-code.com/creating-a-...
Code: https://github.com/yongzhihuang/Penta...

FOLLOW US:
Twitter:   / pentacodevids  
Facebook:   / pentacode  
Repo: https://github.com/yongzhihuang/Penta...
Don't forget to subscribe! Really appreciate it!

Premium Courses: (http://www.penta-code.com/premium):
ES6 for Everyone — The best way to learn modern ES6 JavaScript (https://ES6.io/friend/YONGZHI)
Sublime Text Power User Book (https://SublimeTextBook.com/friend/YO...)
React For Beginners (https://ReactForBeginners.com/friend/...)