Typically an application will require some configuration to run properly. Dokku supports application configuration via environment variables. Environment variables may contain private data, such as passwords or API keys, so it is not recommended to store them in your application's repository.
config plugin provides the following commands to manage your variables:
The variables are available both at run time and during the application build/compilation step. You no longer need a
user-env plugin as Dokku handles this functionality in a way equivalent to how Heroku handles it.
BUILD_ENVfiles are currently migrated into a global
ENVfile and sourced before app-specific variables. This means that app-specific variables will take precedence over global variables. Configuring your global
ENVfile is manual, and should be considered potentially dangerous as configuration applies to all applications.