This is docker symfony project with mysql database and xdebug
- PHP 7 fpm & cli
- Xdebug
- nginx
- mysql
- memcached
Download the repo then run
docker-compose up -d
Find out your server service IP:
docker exec dockersymfony_server_1 ip addr
or
ifconfig
Set your own domain in /etc/hosts, for example [ip address] symfony.dev
Open dev page http://symfony.dev:8080/app_dev.php/
Here we are!
Add 9002
port and docker
as IDE key. Add server as symfony.dev
.