skip to content
Notes && Anecdotes
A decorative, semi-related stock photo that adds less value than this comment.

Show environment variables in Heroku


I was looking for WEB_CONCURRENCY environment variable on my Django-app. This is used for the number of concurrent webworkers for gunicorn, and is automatically scaled depending on the memory usage of your app.

I can do it with the toolbelt, and the command

heroku run printenv --app your-app-name | grep WEB_CONCURRENCY

For environement variables that are set by us as a setting, the can also be found with:

heroku config --app your-app-name

Read more on optimizing your app here

Yes, Cows are obvious environment variables