Install Kivo
Install Kivo anywhere
Self-hosted Kivo runs on your own infrastructure — a laptop, an office server or any cloud. Pick a guide below.
Kivo ships as two Docker images on Docker Hub — invicly/kivo (the app, a Next.js server on port 3000) and invicly/kivo-migrate (applies database migrations, then exits) — plus a PostgreSQL 16 database and an SMTP account for email. Anything that can run a Linux container next to PostgreSQL can host it: a laptop, a server in your office, or any cloud. There's nothing to build.
Before you start
You'll need:
| What | Why |
|---|---|
| A Kivo license key | Every workspace activates with one. Get a free key (core features, unlimited users) or buy Kivo Lifetime. New workspaces also get a 15-day trial of every feature. |
| Docker with the Compose plugin (2.20 or later) | Runs Kivo, its database, the migration job and HTTPS |
2 vCPU, 2–4 GB RAM, 20 GB disk, x86_64 (amd64) | Plenty for teams of a few hundred people. The images are built for amd64 — pick an Intel/AMD server, not an ARM one (AWS Graviton, Azure Ampere, Google Tau T2A). |
| A domain and HTTPS | For production. AUTH_URL must be the public https:// address. The bundled Caddy gets a certificate for you. |
| An SMTP account | Sign-up codes, invites, password resets, reminders and reports (SendGrid, Amazon SES, Azure Communication Services, Mailgun, Postmark, Google Workspace…) |
| Outbound HTTPS to Docker Hub and Kivo Control | hub.docker.com to pull the images, and https://kivo-control.invicly.com for activation and the daily license check |
Get Kivo
Two files, downloaded from this Kivo Control with its address and signing key already filled in:
sudo mkdir -p /opt/kivo && sudo chown $USER /opt/kivo && cd /opt/kivo
curl -fsSL https://kivo-control.invicly.com/install/files/docker-compose.yml -o docker-compose.yml
curl -fsSL https://kivo-control.invicly.com/install/files/kivo.env -o .env && chmod 600 .env| File | What it is |
|---|---|
docker-compose.yml | PostgreSQL, the migration job, the app (invicly/kivo:1.0.0) and Caddy for HTTPS |
.env | Every setting in one file, with comments. The Kivo Control lines are already set. |
The four steps, everywhere
Configure — fill in
.env:KIVO_DOMAINandAUTH_URL,AUTH_SECRET,POSTGRES_PASSWORD(orDATABASE_URLfor a managed database) and SMTP. These two lines are already in it:KIVO_CONTROL_URL=https://kivo-control.invicly.com KIVO_LICENSE_PUBLIC_KEYS="lic-2026-09:MCowBQYDK2VwAyEAzWdTL0qB3C7ZDkfbdcn0u4MADyzGFR9suPCuNkf8mbQ="Start —
docker compose up -dpulls the images, starts PostgreSQL, applies migrations, then starts the app and Caddy.Create your workspace — open
https://<your-domain>/register. You're the owner.Activate — open Settings → License, paste your key and press Activate workspace. The workspace appears under Installations in your Kivo Control portal.
Pick your guide
Your computer
Try Kivo on Windows, macOS or Linux with Docker Desktop.
Your own server
Production on a Linux VPS, office server or data centre.
Amazon Web Services
EC2 with PostgreSQL on the instance or Amazon RDS.
Microsoft Azure
An Ubuntu VM with Azure Database for PostgreSQL.
Google Cloud
Compute Engine with Cloud SQL for PostgreSQL.
DigitalOcean
A Droplet with Managed PostgreSQL.
Other clouds & platforms
Hetzner, Linode, Vultr, OVH, Oracle, Render, Fly.io, Cloud Run…
Kubernetes
AKS, EKS, GKE, k3s or any cluster.
Connect & activate
Point Kivo at Kivo Control and activate your key.
Updates & backups
Update Kivo, back up, restore and move servers.
Troubleshooting
Fixes for the most common install problems.
What runs where
| Service | Image | Details |
|---|---|---|
app | invicly/kivo | The Kivo server, on 127.0.0.1:3000 only. Non-root, read-only filesystem, health checks on /api/health (alive) and /api/health/ready (database reachable and migrated). |
migrate | invicly/kivo-migrate | A one-off job that applies database migrations and exits. The app only starts if it succeeded. |
postgres | postgres:16-alpine | Profile db. PostgreSQL with a named volume — or leave it out and use a managed database (RDS, Azure Database, Cloud SQL…). |
caddy | caddy:2-alpine | Profile https. Terminates HTTPS on ports 80/443 with an automatic Let's Encrypt certificate. Leave it out behind your own proxy or load balancer. |
COMPOSE_PROFILES in .env picks the optional services: db,https (the default), https with a managed database, db behind your own proxy, or empty.
Both images use the same version tag. Pin one (KIVO_VERSION=1.0.0) rather than latest, so an update happens only when you change it.
Kivo never sends your time data to Kivo Control. The license check sends only the key, the workspace and installation IDs, the Kivo version and the installation name — once a day.