docker lamp

Project with Docker Compose - Building LAMP infrastructure

91
113
PHP

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