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

Configuration

Alexandre Jardin edited this page Nov 10, 2018 · 5 revisions

Environment variables

You can edit the environment variables that will be used inside your containers by editing the .env. Exactly like what you are used to do with a Symfony application.

Nginx configuration

The nginx/conf.d/symfony.conf.sample file is built from the Symfony recommendations and contains a default configuration. It will be copied to nginx/conf.d/custom.conf, and used as the default configuration when you start using the environment. You can edit the copy as you want.

PHP configuration

The php/conf.d/custom.ini is also built from the Symfony recommendations. It improves the global performances of the application in a development context. Send us a pull request if you want to modify something inside.

Makefile

One of the main features of this project is the ability to manage the environment from the project directory itself. To achieve that, you have to use a Makefile. An example is distributed with the source under the name Makefile.sample.

And to manage the Docker environment from the project directory:

  • If you already have a Makefile in your project, copy the content of the docker/Makefile.sample file at the top of it.
  • If you do not already have a Makefile, the docker/Makefile.sample file will be installed in your project.
Clone this wiki locally