How do I set environment variables for my app?

To set an ENV variable for your app, use aptible config:set, like so:

aptible config:set --app $APP_HANDLE VAR=value

To view the existing set of ENV variables and their values, run:

aptible config --app $APP_HANDLE

If you need environment variables during a build, you can specify them in a .aptible.env file.

To set multiple variables, use the syntax:

aptible config:set --app $APP_HANDLE VAR1=value1 VAR2=value2 ...