Skip to content
This repository was archived by the owner on Oct 9, 2022. It is now read-only.

Installation

Alexandre Jardin edited this page Oct 29, 2018 · 11 revisions

Requirements

  1. Docker and Docker Compose must be installed before going further.
  2. A Symfony project must already exist, and Composer must be available.

Add the package to development dependencies

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.

$ 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.

Clone this wiki locally