How can we help?

Search our guides and tutorials, or browse the categories below.

How do I deploy my app with Dokku?

Apps 104 views Markdown
  1. In the panel, open My servers and click your server.
  2. On the Overview tab, wait for the App row to say "Dokku is ready". The page refreshes itself.
  3. Copy the IP address from the Connection address row.

Your SSH key

If you gave an SSH key when ordering, it is ready. If not, Connect over SSH and add it:

echo 'ssh-ed25519 AAAA...' | dokku ssh-keys:add mine

Your first app

On the server:

dokku apps:create myapp

On your computer, in your project folder:

git remote add dokku dokku@IP:myapp

git push dokku main

Your app opens at myapp.IP-with-dashes.sslip.io. For HTTPS, on the server:

dokku letsencrypt:set myapp email [email protected]

dokku letsencrypt:enable myapp

The certificate renewal job is switched on during setup (dokku letsencrypt:cron-job --add), so there's nothing else to do. If you removed it, the same command brings it back.

No server yet? Order a server with Dokku installed: you choose the size and pay for what you choose.

Was this helpful?

Thanks for your feedback!

Still Need Help?

If you can't find what you need, get in touch.