madman/sy2docker

This package is abandoned and no longer maintained. No replacement package was suggested.

The "Symfony Docker Edition" distribution

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 2

Forks: 1

Open Issues: 0

Type:project

v1.0.2 2017-04-10 12:48 UTC

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!