This repository was archived by the owner on Oct 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Installation
Alexandre Jardin edited this page Oct 30, 2018
·
11 revisions
- Docker and Docker Compose must be installed before going further.
- A Symfony project must already exist, and Composer must be available.
This Docker environment is available as a Composer package, and thus, can be retrieved like a PHP dependency. And thanks to Symfony Flex and the repository recipe, the installation process is almost fully automated.
As my pull request is not yet merged, you have to define an environment variable to use the recipe. https://flex.symfony.com/r/github.com/symfony/recipes-contrib/552
$ composer config extra.symfony.allow-contrib true
$ composer require --dev ajardin/docker-symfony
You have now a docker
directory inside your project!
Several ways to customize the environment are displayed once the installation is completed. You can find more details about them on the dedicated page.