forked from DemocracyOS/NetID
-
Notifications
You must be signed in to change notification settings - Fork 0
Configure
Sacha Lifszyc edited this page Jan 8, 2014
·
2 revisions
- Copy
app/config/parameters.yml.dist
file toapp/config/parameters.yml
- Replace each parameter with your own config, indicating MySQL, Mongo and Admin parameters.
- Left the rest of the parameters listed on this file untouched.
Symfony will grab any environment variable prefixed with SYMFONY__ and set it as a parameter in the service container. Double underscores are replaced with a period, as a period is not a valid character in an environment variable name. e.g.: a parameter with value %database.driver% should have a config variable named SYMFONY__DATABASE__DRIVER