-
Notifications
You must be signed in to change notification settings - Fork 7
Configuration
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.
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.
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.
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.