This is docker-compose with included: PHP (7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1), Nginx, MySQL, Redis, Memcached, RabbitMQ
How to use?
Clone this repository: git clone https://github.com/vityachis/docker-compose.git
Copy docker-compose.yml and docker to your project root directory
Rename the folder with required PHP version to php (in docker folder)
Delete unnecessary PHP versions from docker folder
Set ENV variables (if need)
Configure Xdebug in PhpStorm
ENJOY :)
Global ENV variables:
Mapping local ports to ports in Docker container (ports for services in Docker container remain default): APP_PORT, APP_SECURE_PORT, MYSQL_PORT, REDIS_PORT, RABBITMQ_PORT, RABBITMQ_MANAGEMENT_PORT