Please refer to drgomesp/docker-bundle for more information about the progress of the bundle that promotes the separation of concerns between Docker configuration and this installer edition.
The unofficial Symfony Docker Edition – by @drgomesp
http://drgomesp.github.io/symfony-docker/
This is an unofficial, open-source and community-driven boilerplate for Symfony projects that run on Docker. It's an attempt of standardizing and making it easier to bootstrap Symfony applications ready for development and production environments. The main tools used are Symfony, Docker and Docker Compose. Other things included are:
- Supervisord
- Nginx
- MariaDB
- Memcached
- PHP 5.6.17 + PHP-FPM
- Xdebug
- Opcache
Before anything, you need to make sure you have Docker properly setup in your environment. For that, refer to the official documentation for both Docker and Docker Compose. Also, if you're developing on Mac or Windows – yeah, maybe that's the case –, make sure you have Docker Machine properly setup.
This project depends on having jwilder/nginx-proxy running. This is a reverse proxy container that will allow having multiple projects running on port 80.
Build the containers:
bin/console docker:compose:build
And run the server:
bin/console docker:compose:up
Once that's done, you should be able to access the application on the IP that docker (or Docker Machine) is running at.
Coming soon...
Enjoy!