The idea is to get up and running Symfony app, while keeping your machine clean. You only need to have few packages installed to achieve this: git, docker and docker-compose.
Mac and Windows users also require either docker-machine or docker for Mac.
Make sure you have Docker and Docker Compose properly set up in your environment.
Clone the repository
$ git clone [email protected]:madman/sy2docker.gitor
composer create-project --no-install --no-scripts madman/sy2dockerManage files and folders access attributes
$ bin/initBuild images
$ docker-compose buildRun containers
$ docker-compose up -dInstall symfony dependencies
$ docker-compose run composer install Open http://localhost:8080/ in your browser to enjoy the results.
- nginx - 1.10.1
- fpm - php-fpm (php version is 5.6.30)
- mysql - 5.5
- composer - service to work with composer
- console - symfony console
What differs from Symfony Standard Edition?
- removed SwiftmailerBundle package
- removed incenteev/composer-parameter-handler. All things are configured automatically.
Symfony Docker Edition is licensed under MIT or BSD licenses. See LICENSE for the full license text.
Enjoy!