Self-hosting

Run Kestrel on your own server, for free

The self-hosted product is the complete product. Single sign-on, SCIM, audit logs and the AI features are all part of it. Nothing is held back for a paid edition.

Install

Two commands, one address

Download setup.sh from the latest release, run it, and answer one question: the address people will use. It writes compose.yaml and a private .env with every password and key generated.

Read the quickstart

Requirements

What you need

  • A Linux machine

    With about 2 GB of free memory.

  • Docker

    Docker Engine and the Compose plugin, version 2.24 or later.

  • A DNS name

    Needed for access from other machines, with ports 80 and 443 open. To try it on your own computer, use http://localhost:8080 instead.

With an https:// address, the stack includes Caddy, which gets and renews a certificate for that name automatically. If you already run a reverse proxy, the setup script has an option to use yours. Open the address and create the first account: it becomes the site administrator, and sign-up closes after it.

Running it

Upgrades and backups are yours to keep

  • Upgrade with sh setup.sh upgrade, then docker compose pull and up
  • The database schema is migrated automatically before the new version starts
  • Everything is in two Docker volumes (database and uploaded files) plus your .env
  • Back up before each upgrade: migrations are not reversed by going back to older images
  • Settings live in .env, and most identity, email and AI settings can also be changed in the browser
  • Other ways to run it: from source with Docker, or without containers using systemd units

Licence

FSL-1.1-ALv2, in plain words

Kestrel is licensed under the Functional Source License, version 1.1, with an Apache 2.0 future licence. In practice:

  • The source is available. You can read it, copy it, change it and redistribute it
  • You may use and self-host it for any purpose that is not a competing use, including inside your company
  • A competing use means offering the software, or a derivative of it, to others as a commercial product or service that substitutes for Kestrel or offers substantially similar functionality
  • Two years after each version is released, that version is also available under the Apache License 2.0
  • The software is provided as it is, without warranty

This is a summary, not legal advice. The licence text in the repository is what applies, and you should read it. If you are unsure whether your use is allowed, ask us at [email protected].

Cloud or self-hosted

Same product, different chores

Kestrel cloud compared with self-hosting
TopicCloudSelf-hosted
ProductThe same productThe same product, complete
CostFree to start, then per editing memberFree
Where data livesOur serversYour own server
Running itWe run, upgrade and back it upYou run, upgrade and back it up
SSO, SCIM, MFA enforcementIncluded on every planIncluded
AI (Ask, semantic search)Your own key, any OpenAI-compatible providerYour own provider, including one on your own network
White-labellingBusiness planIncluded

Content moves both ways: export Markdown, JSON or a zip from one, and import into the other. See pricing for the cloud plans.

Questions about self-hosting

Is there a limit on users?

The self-hosted product has no paid edition and no seat pricing. The licence restricts competing uses only.

Does search need an AI provider?

No. Full-text search works without one. Vector search and Ask need an OpenAI-compatible provider, which can be a hosted service or one on your own network.

Where do I report a security problem?

Privately, to [email protected]. Please do not use public issues.

Prefer us to run it?

The cloud edition is free to start, with no card needed.