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:

WhatWhy
A Kivo license keyEvery 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 HTTPSFor production. AUTH_URL must be the public https:// address. The bundled Caddy gets a certificate for you.
An SMTP accountSign-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 Controlhub.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:

bash
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
FileWhat it is
docker-compose.ymlPostgreSQL, the migration job, the app (invicly/kivo:1.0.0) and Caddy for HTTPS
.envEvery setting in one file, with comments. The Kivo Control lines are already set.

The four steps, everywhere

  1. Configure — fill in .env: KIVO_DOMAIN and AUTH_URL, AUTH_SECRET, POSTGRES_PASSWORD (or DATABASE_URL for a managed database) and SMTP. These two lines are already in it:

    bash
    KIVO_CONTROL_URL=https://kivo-control.invicly.com
    KIVO_LICENSE_PUBLIC_KEYS="lic-2026-09:MCowBQYDK2VwAyEAzWdTL0qB3C7ZDkfbdcn0u4MADyzGFR9suPCuNkf8mbQ="
  2. Start — docker compose up -d pulls the images, starts PostgreSQL, applies migrations, then starts the app and Caddy.

  3. Create your workspace — open https://<your-domain>/register. You're the owner.

  4. Activate — open Settings → License, paste your key and press Activate workspace. The workspace appears under Installations in your Kivo Control portal.

Pick your guide

What runs where

ServiceImageDetails
appinvicly/kivoThe 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).
migrateinvicly/kivo-migrateA one-off job that applies database migrations and exits. The app only starts if it succeeded.
postgrespostgres:16-alpineProfile db. PostgreSQL with a named volume — or leave it out and use a managed database (RDS, Azure Database, Cloud SQL…).
caddycaddy:2-alpineProfile 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.