Personnal LAMP stack with Docker for local projects
- Docker
- Docker compose
- Images
- php:5-apache
- mysql
- mailhog
- phpmyadmin/phpmyadmin
Run images/php-apache/build.sh
docker-compose up -d
Webserver http://localhost:9000
PhpMyAdmin : http://localhost:9001
Mailhog : http://localhost:9002
docker-compose stop
conf/php.ini
: PHP configuration fileconf/mysql.cnf
: MySQL configuration fileconf/php.ini
: Apache configuration fileconf/sites
: Apache virtual hosts