Skip to content

Commit

Permalink
bug #643 Update env variables for the heroku deployment (stof)
Browse files Browse the repository at this point in the history
This PR was merged into the master branch.

Discussion
----------

Update env variables for the heroku deployment

I have not updated the SYMFONY_LOG one, as the monolog config does not use an env variable anymore for the log output, so it requires more work.

Commits
-------

f08d805 Update env variables for the heroku deployment
  • Loading branch information
javiereguiluz committed Sep 6, 2017
2 parents 29d97f8 + f08d805 commit a8e9adc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app.json
Expand Up @@ -15,12 +15,15 @@
"test": "phpunit"
},
"env": {
"SYMFONY_ENV": {
"APP_ENV": {
"value": "prod",
"description": "If you want to use the Symfony `dev` environment in the deployed application, you must move the necessary dependencies (like SensioGeneratorBundle) from `require-dev` to `require`. This will introduce security issues because development tools like the WebProfiler reveal sensitive information."
},
"APP_DEBUG": {
"value": "0"
}
"SYMFONY_LOG": "php://stderr",
"SYMFONY_SECRET": {
"APP_SECRET": {
"description": "Extra entropy for %kernel.secret%; used for CSRF tokens, cookies and signed URLs.",
"generator": "secret"
}
Expand Down

0 comments on commit a8e9adc

Please sign in to comment.