Every framework deploys the same way (git push); these pages cover only what differs. New to Wokku? Start with the Quickstart.
Pick your framework
| Framework | Guide | One-click starter |
|---|---|---|
| Astro | Astro | astro |
| Django | Django | django |
| FastAPI | FastAPI | fastapi |
| Flask | Flask | flask |
| Go | Go | go |
| Laravel | Laravel | laravel |
| Next.js | Next.js | nextjs |
| Node.js / Express | Node.js | express |
| Nuxt | Nuxt | — |
| Phoenix | Phoenix | phoenix |
| Ruby on Rails | Rails | rails, rails-api, rails-sidekiq, rails-tailwind |
| Static sites | Static Site | — |
A starter is a working repo you deploy in one click from Templates, or with wokku deploy <starter> --name my-app.
How Wokku builds your app
- If your repo has a
Dockerfile, Wokku builds it. - Otherwise Nixpacks detects the language from
package.json,requirements.txt,Gemfile,composer.json,go.mod,mix.exsand so on, and builds an image.
The web: line of a Procfile becomes the start command. Every other line becomes a process type you can scale (for example worker:).
Rules every app follows
-
Listen on
$PORT, on0.0.0.0. Wokku setsPORTand sends traffic only there. A fixed port, or a DockerfileEXPOSE, is ignored. -
There is no release phase. A
release:line does not run before deploys. Run migrations after each deploy withwokku run:wokku run my-app -- bin/rails db:migrate -
Keep Procfile commands simple. A command that contains
',|,;or&runs without a shell. Put compound commands (a && b) in a script and call the script. To set an env var inline, writeenv HOST=0.0.0.0 node server.js, notHOST=0.0.0.0 node server.js. -
The disk is temporary. Files written at runtime disappear on the next deploy or restart. Keep uploads in object storage and data in a database.
-
Config vars apply at runtime, not at build time. Values a framework inlines during the build (
NEXT_PUBLIC_*,PUBLIC_*) must be in your repo, for example in a committed.env.production.
The deploy snippet
Each guide ends with the same three commands:
wokku apps:create my-app
git remote add wokku git@git.wokku.cloud:my-app
git push wokku main
The app is live at https://my-app.wokku.app. For the dashboard flow, GitHub auto-deploy and SSH keys, see Create & Deploy.