...
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 |
---|
language | text |
---|
title | show all config parameters |
---|
|
$ heroku config --app <your heroku app name> |
-- show all environmental parameters:
Code Block |
---|
language | text |
---|
title | show all environmental parameters |
---|
|
$ heroku run printenv --app <your heroku app name> |
...
Code Block |
---|
language | text |
---|
title | show application info |
---|
|
$ heroku info --app <your heroku app name> |
Set the Java options environmental variable for example:
Code Block |
---|
language | text |
---|
title | Set the Java options environmental variable |
---|
|
$ heroku config:add JAVA_OPTS='-Xms128m -Xmx512m' --app <your heroku app name> |
...
Code Block |
---|
language | text |
---|
title | restart Heroku application |
---|
|
$ heroku restart --app <your heroku app name> |
...