You’ll set config vars for your app and restart it so they take effect.
Note
Changes apply on the next restart or deploy. Restart with wokku ps:restart my-app or the restart button. See Restart / Stop / Start.
View
Open your app → Deploy tab → Config.
wokku config my-app # all vars
wokku config:get my-app SECRET_KEY # one var
wokku config:export my-app > .env # as a .env file
curl https://wokku.cloud/api/v1/apps/my-app/config \
-H "Authorization: Bearer $TOKEN"
Ask Claude: “Show the environment variables for my-app.”
Team members with the viewer role see variable names but not values.
Set
Deploy tab → Config → add the key and value → save.
wokku config:set my-app SECRET_KEY=abc123 LOG_LEVEL=info
curl -X PUT https://wokku.cloud/api/v1/apps/my-app/config \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"vars": {"SECRET_KEY": "abc123", "LOG_LEVEL": "info"}}'
Ask Claude: “Set LOG_LEVEL=info on my-app.”
Remove
Deploy tab → Config → delete icon next to the variable.
wokku config:unset my-app LEGACY_KEY OLD_SECRET
curl -X DELETE https://wokku.cloud/api/v1/apps/my-app/config \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"keys": ["LEGACY_KEY"]}'
Ask Claude: “Remove LEGACY_KEY from my-app.”
Set for you
| Variable | When |
|---|---|
PORT |
Always. Your app must listen on it. |
DATABASE_URL |
When you add or link a Postgres, MySQL or MariaDB database |
REDIS_URL |
When you add or link Redis |
All process types (web, worker, …) share the same variables.