Skip to content

jersonmartinez/docker-lamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Watch the video 👇

Watch the video

docker-lamp

Docker with Apache, MySQL 8.0, PHPMyAdmin and PHP.

I use docker-compose as an orchestrator. To run these containers:

docker-compose up -d

Open phpmyadmin at http://127.0.0.1:8000 Open web browser to look at a simple php example at http://127.0.0.1:80

Clone YourProject on www/ and then, open web http://127.0.0.1/YourProject

Run MySQL client:

  • docker-compose exec db mysql -u root -p

Infrastructure as code!

You can read this a Spanish article in Crashell platform: Apache, PHP, MySQL y PHPMyAdmin con Docker LAMP.

Infrastructure model

Infrastructure model