Skip to content

jcavat/docker-lamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-lamp

Docker example with Apache, MySql 8.0, PhpMyAdmin and Php

  • You can use MariaDB 10.1 if you checkout to the tag mariadb-10.1 - contribution made by luca-vercelli
  • You can use MySql 5.7 if you checkout to the tag mysql5.7

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

docker-compose up -d

Open phpmyadmin at http://localhost:8000 Open web browser to look at a simple php example at http://localhost:8001

Run mysql client:

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

Enjoy !