Notes and anecdotes

Techstuff rambling

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.

Do it with the toolbelt, and command

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

Read more on optimizing your app here

env variablesherokutoolbelt

tomfa • 2015-12-12


Previous Post

Next Post