Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

These are some configuration commands to display and/or configure Heroku regarding environmental variables and Java options, or just displaying info about the application

 

Code Block
languagetext
titleshow all config parameters
$ heroku config --app <your heroku app name>

-- show all environmental parameters:

Code Block
languagetext
titleshow all environmental parameters
$ heroku run printenv --app <your heroku app name>

...

Code Block
languagetext
titleshow application info
$ heroku info --app <your heroku app name>

Set the Java options environmental variable for example: 

Code Block
languagetext
titleSet the Java options environmental variable
$ heroku config:add JAVA_OPTS='-Xms128m -Xmx512m' --app <your heroku app name>

...

Code Block
languagetext
titlerestart Heroku application
$ heroku restart --app <your heroku app name>

...