Quick Start

Deploy a new app

Fill in your app name and email to populate all commands below.

VPS

Create the app, assign a subdomain, and enable HTTPS.

Shell

        
dokku ports:set maps the public-facing http/https ports to the container's internal port (here, 3000) so nginx knows where to forward incoming traffic for the app.
Set DATABASE_URL=/app/storage/db.sqlite as an env var so your app points to the mounted volume.

Local machine

Add the Dokku remote to your Git repository.

Add remote

        
Commit & deploy

        
You can use the @push alias to quickly commit and deploy in one step instead of running the full command above.