Simple dockerized PHP apache server and MySQL database
Clone the repo :
git clone git@github.com:OxNinja/simple-docker-php-mysql.git
Or via HTTPS :
git clone https://github.com/OxNinja/simple-docker-php-mysql.git
Build and run the Docker containers using docker-compose :
docker-compose build && docker-compose up
Then go to http://172.16.0.2
.
Add the container to your known hosts :
echo "172.16.0.2 simple.web" >> /etc/hosts
./build.sh
And voila !