Docker https://docs.docker.com/desktop/install/windows-install/
Git https://git-scm.com/download/win
git clone [email protected]:alexamanov/m2-compose.git
cd m2-compose
docker-compose up --build -d
Go to container mysql:
docker exec -it mysql bash
Import database:
mysql -u docker -pdocker m2 < /home/m2.sql
https://localhost/admin
Username: admin
Password: a111111
docker exec -it php bash
or via docker desktop
https://localhost:8088/
docker | docker
Open m2-compose/ce244 directory in PHPSTORM
Go to File > Settings > PHP > Servers
Name: PhpServerBase
Host: 127.0.0.1
Use path mapping: true
Absolute path on the server: /var/www/html
Go to File > Settings > PHP
Change CLi Interpreter
Result:
docker-compose up -d
docker-compose down