This project dedicated for PHP artisans. In the scope we combined most popular stack: NGINX + PHP7.2 + MySQL
- Docker
- Docker-compose
Most common configuration parameters elevated to main .env
file. Just rename (copy) .env.example
file to .env
and set needed properties.
If you need to install additional features / modules you can specify them in the related Dockerfile
instructions.
It is convenient to put docker-folder inside the project to get ability to start environment within project.
docker-compose build
Please use IDE (PHPStorm) to start environment!
Also it is possible to use command line:
docker-compose up -d
Please use IDE (PHPStorm) to stop environment!
Also it is possible to use command line:
docker-compose down --remove-orphans
Please use IDE (PHPStorm) to exec bash inside the container!
Also it is possible to use command line:
docker exec -it quicker-php-fpm su -s /bin/bash www-data