How to run your PHP app in docker with MySql
Автор: The Codeholic
Загружено: 2022-02-08
Просмотров: 33830
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
• Docker Complete Setup on Windows (With WSL...
See how I build PHP MVC Framework
🎬 Videos 🎬 - https://bit.ly/3B0MH9y
⭐️ Source Code ⭐️ - https://bit.ly/3B1oYpZ
Table of Contents
----------------------------
00:00 - Intro & Overview
01:17 - Create Dockerfile
02:58 - Create Apache virtual host file
03:34 - Create composer installer
05:23 - Create php.ini
06:07 - Build an image with Dockerfile
07:02 - Run docker image
08:35 - Run commands in container
09:23 - Test php.ini configuration
09:50 - Create docker-compose.yml
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
Support me by subscribing - https://bit.ly/2xTQOI0
Follow me on social media:
/ thecodeholic
/ thecodeholic
/ thecodeholic
Check my Github:
https://github.com/thecodeholic
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: