Most Heroku apps already listen on $PORT and have a Procfile, so the move is config, data and DNS. Two differences matter: Wokku builds with your Dockerfile or Nixpacks (not buildpacks), and there’s no release phase.
Concept map
| Heroku | Wokku |
|---|---|
heroku CLI |
wokku CLI (install) |
| Buildpacks | Your Dockerfile, or Nixpacks auto-detect |
Procfile |
Procfile (web: and other process types) |
release: phase |
None. Run wokku run my-app -- <migrate> after deploys |
| Dyno formation | Scaling Processes (wokku ps:scale) |
| Dyno size | Resources (CPU and RAM) |
| Config vars | Environment Variables |
| Heroku Postgres / Redis | Database add-ons |
| Heroku Scheduler | Scheduled Tasks |
| Review Apps | Preview Deploys |
heroku rollback |
Rollback |
heroku run |
wokku run my-app -- <command> |
1. Create the app and copy config
wokku apps:create my-app
heroku config --json -a my-heroku-app \
| jq -r 'to_entries[] | select(.key != "DATABASE_URL" and .key != "REDIS_URL") | "\(.key)=\(.value)"' \
| while IFS= read -r pair; do wokku config:set my-app "$pair"; done
This skips DATABASE_URL and REDIS_URL, which Wokku’s add-ons set. Also drop vars for Heroku add-ons you won’t use.
2. Move the database
heroku pg:backups:capture -a my-heroku-app
heroku pg:backups:download -a my-heroku-app # writes latest.dump
wokku addons:dedicated:upgrade my-app postgres
wokku addons my-app # note the database name
wokku databases:import <database-name> latest.dump
Used Heroku Redis? wokku addons:shared:enable my-app redis sets REDIS_URL. More in Move a database.
3. Deploy
git remote add wokku git@git.wokku.cloud:my-app
git push wokku main
If your Procfile has a release: line, remove it and run that command after each deploy instead, for example wokku run my-app -- bin/rails db:migrate.
4. Switch the domain
Check the app on https://my-app.wokku.app, then add your domain (HTTPS is automatic) and update DNS. See Custom Domains.
Gotchas
- Buildpack-specific commands — Procfile lines such as
heroku-php-apache2don’t exist here. See your framework guide. - Temporary disk — same as Heroku. Keep uploads in object storage.
- Add-on variable names — point your app at
DATABASE_URL/REDIS_URL, not Heroku add-on names likeHEROKU_POSTGRESQL_*.