A template to run php apps on docker.
docker-compose.yml
is the main docker-compose file.
containers
: folder to define Docker files.
data
folder to store databases files.
etc
folder to modify configuration files.
log
folder to view log files.
In project root directory where index.php file is located:
$ git clone https://github.com/basemkhirat/docker.git
$ cd docker
$ docker-compose build
$ docker-compose up -d
Browse http://localhost from a web browser.
That's all :)