madman / sy2docker
The "Symfony Docker Edition" distribution
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 1
Open Issues: 0
Type:project
Requires
- php: >=5.5.9
- doctrine/doctrine-bundle: ^1.6
- doctrine/doctrine-cache-bundle: ^1.2
- doctrine/orm: ^2.5
- sensio/distribution-bundle: ^5.0
- sensio/framework-extra-bundle: ^3.0.2
- symfony/monolog-bundle: ^3.0.2
- symfony/polyfill-apcu: ^1.0
- symfony/symfony: 3.2.*
- twig/twig: ^1.0||^2.0
Requires (Dev)
- sensio/generator-bundle: ^3.0
- symfony/phpunit-bridge: ^3.0
This package is auto-updated.
Last update: 2023-07-29 01:22:36 UTC
README
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.
Up and running
Make sure you have Docker and Docker Compose properly set up in your environment.
Clone the repository
$ git clone git@github.com:madman/sy2docker.git
or
composer create-project --no-install --no-scripts madman/sy2docker
Manage files and folders access attributes
$ bin/init
Build images
$ docker-compose build
Run containers
$ docker-compose up -d
Install symfony dependencies
$ docker-compose run composer install
Open http://localhost:8080/ in your browser to enjoy the results.
What's included?
- 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.
Licensing
Symfony Docker Edition is licensed under MIT or BSD licenses. See LICENSE for the full license text.
Enjoy!