Deploy Kan Trello Alternative (Postgres, Redis, S3 uploads)

Open-source kanban boards for teams with Trello import and a secure login.

Deploy Kan Trello Alternative (Postgres, Redis, S3 uploads)

Just deployed

Bucket

Bucket

Just deployed

Deploy and Host Kan with Railway

Kan is an open-source Trello alternative: workspaces, boards, lists and cards with labels, checklists, comments, attachments and a Trello importer. This template runs Kan with PostgreSQL 18, Redis and a Railway Bucket for files, and creates your first account before the site goes online.

About Hosting Kan

Kan is a Next.js application backed by PostgreSQL. It applies its database migrations on start, uses Redis (optional upstream) to keep API rate limits consistent across restarts and replicas, and stores avatars and card attachments in S3-compatible storage. Browsers upload straight to the bucket and read files through signed URLs, so the bucket stays private.

The upstream image has no shell, so the template adds a small Node.js start script. It retries migrations while Postgres starts, sets the Bucket's CORS rule for your domain, and creates the first account from template variables on a temporary server bound to localhost. Public sign-up stays off by default: people you invite to a workspace can register, strangers cannot.

Common Use Cases

  • Run team kanban boards for product, support or content work
  • Move boards off Trello with the built-in importer
  • Keep project files and discussions on infrastructure you control
  • Give scripts and AI agents access through Kan's REST API and MCP endpoint

Dependencies for Kan Hosting

  • Kan 0.7.0 (ghcr.io/kanbn/kan, pinned by digest)
  • PostgreSQL 18 (Railway's postgres-ssl image)
  • Redis 8.2 for rate limiting
  • A Railway Bucket for avatars and attachments

Deployment Dependencies

Implementation Details

ServiceWhat it doesPublic
KanWeb app and API (Next.js, port 3000), migrations on startyes
PostgresAll Kan datano
RedisAPI rate-limit storeno
BucketAvatars and card attachments (private, signed URLs)no

First login

  1. Open the Kan service's public URL.
  2. Sign in with KAN_ADMIN_EMAIL (default admin@example.com) and the generated KAN_ADMIN_PASSWORD from the Kan service's Variables tab.
  3. Create your workspace, then update your name, e-mail and password in Settings.

Adding teammates. With NEXT_PUBLIC_DISABLE_SIGN_UP=true, invite people from the workspace Members page; an invited address can then create its account on the sign-up page, even without e-mail delivery. Set the variable to false for open sign-up.

E-mail (optional). Invitations, magic links and password resets use SMTP (SMTP_*, EMAIL_FROM). Railway allows outbound SMTP on the Pro plan.

Uploads. The Bucket variables are filled in for you. On every start the Kan service sets the Bucket's CORS rule to NEXT_PUBLIC_BASE_URL.

Custom domain. Add it to the Kan service, set NEXT_PUBLIC_BASE_URL to https://{your-domain} and redeploy.

Scaling. Kan is stateless; raise the replica count of the Kan service. Rate limits are shared through Redis.

Versions. The image is pinned in services/kan/Dockerfile (KAN_IMAGE, tag and digest). To upgrade, use a newer release tag and digest from the Kan releases page and redeploy; migrations run on start. Kan is still pre-1.0, so read the release notes and back up Postgres first.

Resources. Measured on Railway: Kan about 0.20-0.24 GB RAM, Postgres 0.11 GB, Redis 0.04 GB, near-zero idle CPU. Runs on Trial, Hobby and Pro; expect roughly $4-6 per month for a small team.

This is a community template; it is not affiliated with the Kan project. Kan is licensed under AGPL-3.0.

Why Deploy Kan on Railway?

Railway runs Kan, Postgres, Redis and file storage as one project with private networking, volumes and HTTPS. You get a ready board tool with a secured first account in minutes, and you can scale, add a domain or upgrade the pinned version from the dashboard.


Template Content

More templates in this category

View Template
Rocky Linux
Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
51
View Template
Foundry Virtual Tabletop
Self-hosted virtual tabletop for role-playing games (license required)

Lucas
71
View Template
NEW
Double Commander in your browser
The Double Commander file manager in the cloud, from any device

Nermin Sabanovic
0