Getting started
Installation
Install Jokku on a fresh server with one command, then run commands from your laptop over SSH.
Requirements#
- A fresh Ubuntu or Debian server.
- Ports 80 and 443 free.
- KVM. Bare metal works, or a virtual machine with nested virtualization turned on (on Proxmox, set the CPU type to
host). - A CPU from 2011 or newer, which Firecracker needs: Intel Sandy Bridge or AMD Bulldozer and later. Jokku is tested on Intel Skylake and newer.
Install#
That's it. The SSH keys you used to log in to the server can now deploy apps and run commands.
The installer downloads the jokku binary, checks it against the release's checksums, then runs jokku setup. Setup creates the jokku user, its directories and services, and installs the pinned Firecracker and BuildKit that Jokku runs with. Each step checks before it changes anything, so running it again is safe.
You can set a few options in the environment:
Run commands#
Run commands from your laptop over SSH, with nothing installed locally, or on the server itself with sudo jokku <command>:
The rest of these docs assume this alias on your laptop:
Give others access#
To let someone else deploy, add their public key:
Every key is an admin, as in Dokku without its ACL plugin. The key's name is recorded on each deploy, so you can see who shipped what.
Ports#
The last two only matter once you add more servers.
Repair a server#
jokku setup brings the server to the state the installed release needs. Run it again if something on the server was changed or removed: