This is educational docker symfony project with mysql database and xdebug
PHP HTML ApacheConf Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
php-fpm
server
.gitignore
LICENSE
README.md
docker-compose.yml

README.md

docker-symfony

This is docker symfony project with mysql database and xdebug

Features

  • PHP 7 fpm & cli
  • Xdebug
  • nginx
  • mysql
  • memcached

How to run the project

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!

Xdebug in PHP Storm

Add 9002 port and docker as IDE key. Add server as symfony.dev.