Self-hosting requirements
ReferenceUpdated
On this page
This page tells you which servers you need to run Kanroo yourself: which services run, how many hosts, how much CPU, memory, and disk, and which network access Kanroo needs. It covers Kanroo Core and the Enterprise Edition. Kanroo Cloud users need none of this.
Services
Kanroo runs as a Docker Compose stack. All Kanroo services use the same image.
| Service | Edition | What it does |
|---|---|---|
caddy |
Core | Reverse proxy on ports 80 and 443; gets the TLS certificate |
kanroo-app |
Core | Web app, API, file uploads, and sign-in emails |
kanroo-worker |
Core | Background work: notifications, imports, cleanups, and, in the Enterprise Edition, Web Push, Email Intakes, and Reply by Email |
postgres |
Core | PostgreSQL 18 database |
kanroo-migrate |
Core | Runs the database migrations once per update, then stops |
kanroo-realtime |
Enterprise | Live updates and presence |
kanroo-worker-webhook |
Enterprise | Sends webhook requests |
Optional, outside the Kanroo stack:
- Mail server for incoming mail. Email Intakes and Reply by Email read a mailbox over IMAP on a mail server set up exactly for Kanroo. For self-hosted installations, they are available on request.
- Observability backend. The Enterprise Edition can export traces, metrics, and logs over OpenTelemetry. You choose and run the collector and the backend, for example SigNoz.
- S3-compatible object storage for files. Without it, files stay on a disk volume of the host.
Features and what they need
Every feature runs in one of the services above. Some need more than the Kanroo host.
| Feature | Edition | Runs in | Also needs |
|---|---|---|---|
| Boards, Wiki, forms, public boards, imports, exports, search, API, MCP server | Core | kanroo-app, kanroo-worker |
Nothing more |
| Sign-in with email codes and email notifications | Core | kanroo-app, kanroo-worker |
An SMTP account |
| Live updates and presence | Enterprise | kanroo-realtime |
Nothing more |
| Single sign-on (SSO) with OpenID Connect | Enterprise | kanroo-app |
An identity provider that the Kanroo host reaches over HTTPS on port 443, for example Microsoft Entra ID, Okta, or Keycloak |
| Web Push notifications | Enterprise | kanroo-worker |
Outgoing HTTPS to the browser push services; a key pair that you create once |
| Webhooks | Enterprise | kanroo-worker-webhook |
Outgoing HTTPS to your endpoints |
| Audit log | Enterprise | kanroo-app, kanroo-worker |
Nothing more |
| Email Intakes and Reply by Email | Enterprise | kanroo-worker |
A mail server set up exactly for Kanroo, with IMAP access and DNS records for the receiving addresses; for self-hosted installations on request |
| Observability | Enterprise | Every Kanroo service | An OpenTelemetry collector and a backend that you run |
Sizing
Both tiers assume one Kanroo host with PostgreSQL on it. Optional services run on their own hosts (see Placement).
| Minimum | Recommended | |
|---|---|---|
| Use | Evaluation or a small team, up to about 50 users | Production up to about 500 users |
| Kanroo hosts | 1 | 1 |
| vCPUs | 2 | 4 |
| Memory | 4 GB | 8 GB |
| Disk (SSD) | 40 GB | 80 GB, plus your files (see Disk) |
| Operating system | 64-bit Linux | Same |
| CPU architecture | amd64 (x86-64) |
Same |
| Docker | Docker Engine with Docker Compose v2 | Same |
In our load test, 500 users worked at the same time on one host with 4 vCPUs and 8 GB of memory, with 5–10 seconds between their actions. The host used about 60 % of its CPU and 3.5 GB of memory, and 95 % of the requests took less than 130 ms.
For more than 500 users, or for several Kanroo hosts, contact us through the contact form.
The published images are built for amd64 only. On arm64, you can build Kanroo Core from the
source code.
Resources per service
Use these values when you place services differently or set your own limits. They are approximate values from our measurements.
| Service | CPU | Memory | Notes |
|---|---|---|---|
kanroo-app |
1.5 vCPU | 1.5 GB | About 550 MB in use with 500 users at once |
kanroo-worker |
0.5 vCPU | 0.5 GB | |
kanroo-realtime |
1 vCPU | 1 GB | Enterprise Edition; about 25 % of one CPU with 500 users at once |
kanroo-worker-webhook |
1 vCPU | 0.5 GB | Enterprise Edition |
postgres |
1 vCPU | 1–2 GB | About 75 % of one CPU with 500 users at once; about 110 MB when idle; more memory helps through the file cache |
caddy |
0.25 vCPU | 1 GB | Uses up to about 800 MB during many large uploads |
Leave about 1 GB of memory for the operating system and Docker. The Core Compose file sets no CPU or memory limits; the Enterprise Edition sets them for every Kanroo service.
Placement
We recommend this layout.
| Host | Services |
|---|---|
| Kanroo host | caddy, kanroo-app, kanroo-worker, postgres, and, with the Enterprise Edition, kanroo-realtime and kanroo-worker-webhook |
| Mail host (optional) | The mail server for Email Intakes and Reply by Email, on request |
| Monitoring host (optional) | Your observability backend |
You can run everything on one host for an evaluation. For production, we do not recommend it:
- A mail server needs port 25, its own IP address with a clean reputation, and regular security updates. A problem there should not affect Kanroo, and the other way round.
- An observability backend often needs several gigabytes of memory and much disk I/O. Under load, it can slow Kanroo down when both share a host.
- Separate hosts let you update and restart each part on its own.
A separate database host is not needed up to 500 users. More than one Kanroo host needs S3 storage for files and one PostgreSQL database that all Kanroo hosts reach.
Disk
Plan disk for four parts:
- Images: about 0.6 GB per Kanroo version, plus PostgreSQL and Caddy. Reserve 5 GB, so that an update can pull the new version while the old one still runs.
- Database: about 2 KB per task, including its indexes, checklists, labels, and history. 100,000 tasks need about 200 MB. Comments, Wiki pages, and the audit log add to it.
- Files: attachments, avatars, and Wiki images usually use most of the disk. One attachment is
at most 25 MB by default (
STORAGE_MAX_UPLOAD_BYTES). Plan from the files your teams upload, or use S3 storage. - Logs: Docker keeps at most 10 compressed log files per Kanroo service.
Keep backups on another machine, not on the Kanroo host. The steps to back up, restore, and update are on the page Back up, restore, and update.
Network
Incoming:
- Ports 80 and 443 from your users to
caddy. Port 80 is needed for the TLS certificate and redirects to 443. - A DNS
AorAAAArecord for your Kanroo domain that points to the Kanroo host.
Outgoing from the Kanroo host:
| Destination | Port | Why |
|---|---|---|
| Your SMTP server | Usually 587 or 465 | Sign-in codes and notifications; required |
kanroo.app |
443 | Update check; in the Enterprise Edition also the license check |
| Your IMAP server | Usually 993 | Email Intakes and Reply by Email (Enterprise Edition) |
| Your S3 storage | 443 | Files, if you use S3 |
| Your identity provider | 443 | Single sign-on (Enterprise Edition) |
| Browser push services | 443 | Web Push (Enterprise Edition) |
| Your webhook endpoints | 443 | Webhooks (Enterprise Edition) |
| Your OpenTelemetry collector | Usually 4318 (OTLP over HTTP) | OpenTelemetry export (Enterprise Edition) |
PostgreSQL listens only on the host itself. Do not open port 5432 to the internet.