Docker Apache MySQL PHP
-
git clone
&cd
to this repository:git clone https://github.com/Yiidiir/dampserver.git && cd dampserver
-
Update
.docker/php-apache/httpd.conf
,.docker/php-apache/php.ini
&.docker/php-apache/php.ext.txt
NOTE: php.ext.txt does not support extensions that depend on other libs requiring apt-get yet, you might need to run docker exec -it [CONTAINER ID] bash
and run appropriate commands if needed.
- Docker-compose build
docker-compose build
- RUN
docker-compose run -d
- Better/Flexible php extensions management
- Mount MySQL my.cnf
- ENV file