Repository navigation
Guides Ops Overview
github-actions[bot] edited this page Oct 16, 2026
·
1 revision
Self-host Kanna under pm2, systemd, docker, or plain shell.
Kanna is a single Bun process listening on :3210 (change it with --port).
Self-hosting choices:
- Self-host basics — CLI flags, persistence, ports
- pm2 — recommended for VPS deployments
- systemd — long-running service on Linux
- docker — containerised deployment
- OAuth pool admin — managing tokens at scale
- Cloudflare tunnel — share links, named tunnels, the macOS pm2 recipe, 403 on login
- Self-update — how the Update button installs a new version
Start with Self-host basics: port, password and the data directory are not configured the way most guides on the internet assume.
For the env var reference see Reference → Env Vars.
This wiki is generated from wiki/src/content/docs in cuongtranba/kanna.
Edit the docs there: changes made on this wiki are overwritten on the next sync.
The same docs are published at https://kanna-wiki.lowbit.link.
Getting Started
Features
- Providers & Models
- Chat & Transcript
- Generative UI
- Projects & Sessions
- Boards
- Multi-repo Stacks
- Slash Commands
- Cron Jobs
- Loops
- Beacons
- Kanna Plugins
- Package Auto-Update
- Advanced
- Security
Guides
- User Guide
- Contributing
- Ops & Self-Host
Sharing
Reference