Skip to content

Environment Variables

Set, view, and remove environment variables for your apps.

Go to your app → Config tab.

Setting a variable triggers an app restart.

Go to Config → Add Variable. Enter the key and value, click Save.

Go to Config, click the delete icon next to the variable.

VariableDescription
DATABASE_URLAuto-set when you link a database
REDIS_URLAuto-set when you link Redis
SECRET_KEY_BASERails secret key
NODE_ENVNode.js environment
PORTSet automatically by Dokku