Getting started
Deploy your first app
Push a repo with a Dockerfile, get a URL back, then put it on your own domain with HTTPS.
Your app needs a Dockerfile, and it should listen on the port in $PORT. That's the port your Dockerfile EXPOSEs, or 5000 if it exposes none. To pick it yourself, set it with jokku config:set myapp PORT=3000.
1Create the app#
Pushing to an app that doesn't exist yet creates it, so this step is optional. It's handy when the app needs config before its first boot.
2Push it#
Jokku builds the Dockerfile, boots the app, waits for it to accept connections and prints its URL:
Every app gets a working address on sslip.io right away, so you can try it before touching DNS.
3Add your domain#
Point myapp.com at your server with an A record. New apps are served over plain HTTP on port 80.
4Turn on HTTPS#
Jokku then gets a certificate for each of the app's public domains, renews it, and redirects HTTP to HTTPS. jokku letsencrypt:disable myapp goes back to plain HTTP.
Deploy again#
Commit and push. Each deploy boots the new version next to the old one, switches traffic once it's healthy, and retires the old instances a minute later.
Pushes to main deploy. To deploy from another branch, run jokku git:set myapp deploy-branch production, or push a branch onto main with git push jokku my-branch:main.