/symfony-docker

Docker Env built upon Centos6, php 5.4, symfony2.8 with containers for php-fpm, nginx and mysql

Primary LanguageDockerfileMIT LicenseMIT

comment out the line--

            - ./logs/symfony:/var/www/symfony/app/logs

before creating the symfony project

now run the

docker-compose up --build

####To create the symfony project for the first time

After all three servers are running, open tty to the php

docker exec -it >>>PHP_SERVER<<< /bin/bash

then get into /var/www and run--

composer create-project symfony/framework-standard-edition symfony "2.8.*" -vvv

and exit out

Also create a symfony.dev entry in /etc/hosts pointing to localhost or 127.0.0.1 on your host system