Database Reference
In-Depth Information
Config vars
The traditional approach is setting the configuration variables in the source code of your
application; this approach is not useful, especially when you have many environments such
as production, development, and test. The safer approach is creating environment variables.
Heroku works with environment variables called config vars.
Config vars are necessary to run your application. Some of these variables are provided by
Heroku and others are provided by add-ons that you have installed. You can also add your
own config vars. For example, for Postgres add-on the config vars are provided credentials
to access the database. All the provided dynos have the same set of config vars. These vari-
ables are copied automatically when you create a new dyno.
Search WWH ::




Custom Search