Environment Variables
Set, view, and remove environment variables for your apps.
View Config
Section titled “View Config”Go to your app → Config tab.
wokku config my-appcurl https://wokku.cloud/api/v1/apps/my-app/config \ -H "Authorization: Bearer $TOKEN"Ask Claude: “Show environment variables for my-app”
Tap your app → Config tab.
Set Variables
Section titled “Set Variables”Setting a variable triggers an app restart.
Go to Config → Add Variable. Enter the key and value, click Save.
wokku config:set my-app DATABASE_URL=postgres://user:pass@host/dbwokku config:set my-app REDIS_URL=redis://host:6379 SECRET_KEY=abc123curl -X PUT https://wokku.cloud/api/v1/apps/my-app/config \ -H "Authorization: Bearer $TOKEN" \ -d '{"DATABASE_URL": "postgres://user:pass@host/db"}'Ask Claude: “Set DATABASE_URL on my-app to postgres://user:pass@host/db”
Tap your app → Config → + to add a variable.
Remove Variables
Section titled “Remove Variables”Go to Config, click the delete icon next to the variable.
wokku config:unset my-app LEGACY_KEY OLD_SECRETcurl -X DELETE https://wokku.cloud/api/v1/apps/my-app/config \ -H "Authorization: Bearer $TOKEN" \ -d '{"keys": ["LEGACY_KEY"]}'Ask Claude: “Remove the LEGACY_KEY env var from my-app”
Tap your app → Config → swipe to delete.
Common Variables
Section titled “Common Variables”| Variable | Description |
|---|---|
DATABASE_URL | Auto-set when you link a database |
REDIS_URL | Auto-set when you link Redis |
SECRET_KEY_BASE | Rails secret key |
NODE_ENV | Node.js environment |
PORT | Set automatically by Dokku |