Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mmucklo/docker-symfony

Docker for symfony with Nginx + PHP 7.2 with most of the bells and whistles including correct xdebug settings for PHPStorm on Mac or PC
https://github.com/mmucklo/docker-symfony

docker phpstorm symfony xdebug

Last synced: 1 day ago
JSON representation

Docker for symfony with Nginx + PHP 7.2 with most of the bells and whistles including correct xdebug settings for PHPStorm on Mac or PC

Awesome Lists containing this project

README

        

# Easy Docker setup for Symfony development

## Getting Started:

* Copy env.sample to .env
* Edit .env and change SYMFONY_ROOT to the right directory (where you find app/ web/ src/ vendor/ etc.)
* Fork as necessary and modify

# Running

* docker-compose up
* http://localhost:8080/
* (or whatever you set NGINX_PORT to in .env)
* (If you don't have symfony installed yet, see the [Install symfony](#install-symfony) section)

# Composer

* docker-compose exec php bash
* composer.phar

# Install symfony

* mkdir src
* docker-compose exec php bash
* cd /var/www
* composer.phar create-project symfony/website-skeleton symfony

# License

MIT