filmov
tv
How to run your PHP app in docker with MySql

Показать описание
Docker is an amazing tool for containerization. It can be used to easily run your application with desired versions and desired services.
In this video I will take my PHP MVC Framework which I built before on this channel
and run it with docker.
🐳 Setup fully functional Docker environment on Windows
See how I build PHP MVC Framework
Table of Contents
----------------------------
00:00 - Intro & Overview
01:17 - Create Dockerfile
02:58 - Create Apache virtual host file
03:34 - Create composer installer
06:07 - Build an image with Dockerfile
07:02 - Run docker image
08:35 - Run commands in container
12:03 - Stop container
12:28 - Start container stack
14:15 - Execute command using docker-compose
15:15 - Run migrations in container
15:39 - Connect to the database with MySql client
16:44 - Create MySql config file
17:54 - Bind mysql-data volume to avoid data lost
20:25 - The End
Follow me on social media:
Check my Github:
In this video I will take my PHP MVC Framework which I built before on this channel
and run it with docker.
🐳 Setup fully functional Docker environment on Windows
See how I build PHP MVC Framework
Table of Contents
----------------------------
00:00 - Intro & Overview
01:17 - Create Dockerfile
02:58 - Create Apache virtual host file
03:34 - Create composer installer
06:07 - Build an image with Dockerfile
07:02 - Run docker image
08:35 - Run commands in container
12:03 - Stop container
12:28 - Start container stack
14:15 - Execute command using docker-compose
15:15 - Run migrations in container
15:39 - Connect to the database with MySql client
16:44 - Create MySql config file
17:54 - Bind mysql-data volume to avoid data lost
20:25 - The End
Follow me on social media:
Check my Github:
Комментарии