Self-hosting
Deploy Kipivo and finish the first administrator setup.
Kipivo uses a Web service, an API service, and PostgreSQL.
Set the same private REDIS_URL on each API replica to deliver live updates to open personal and team boards. A member can save a task on one replica and collaborators on another receive the change. PostgreSQL stores the tasks and determines who can read them. Without Redis, open boards check for changes every 15 seconds.
Docker
Build the images from the repository root so Docker can access the workspace lockfile and shared assets. Follow the authentication guide to run Web and API containers with PostgreSQL. Find build commands and image smoke tests for Web and Docs, the API, and the gateway.
Background work and file limits
Authentication email and file cleanup resume from PostgreSQL after a restart. With Redis enabled, grant the API publish and subscribe access to kipivo:jobs:v1:* and kipivo:board:v1:*. Workers also poll the database if a wake-up is missed.
Each account has 1 GiB of file space by default. Set FILE_QUOTA_BYTES to the same positive byte count on all API replicas to change the limit. Files shows storage usage and space reserved by uploads. The limit for a single file is 25 MiB.
Set a random METRICS_TOKEN on the API to enable Prometheus scraping. Send it as a Bearer token to GET /metrics on each replica's private address. The endpoint reports board notification health, background job outcomes and queue age. The public gateway keeps this endpoint private.
Railway
Create an empty Railway project named kipivo and grant the Railway GitHub App access to kipivo/kipivo. Install Railway CLI 5.42.1 or newer. Run the following commands from the repository root and select the project's next environment when linking.
bun install --frozen-lockfile
railway login
railway link
railway config planReview the plan, then run railway config apply. The Railway configuration declares gateway, Web, API, Docs, PostgreSQL, and Redis services. It connects services over the private network and enables Wait for CI for services deployed from next. Follow the resource guide to configure optional S3-compatible storage.
Keep the existing Web and API public domains while deploying the gateway as a separate service. The routing guide explains domain routing and upstream settings. Railway checks /docs before switching Docs traffic. Check the gateway itself at /gateway-healthz.
Optional homepage analytics
Both services are disabled by default. To measure signed-out visits to the public homepage (/), set VITE_CLOUDFLARE_ANALYTICS_TOKEN for Cloudflare performance metrics or VITE_UMAMI_WEBSITE_ID for Umami visits and referrals. Pass the values as Docker build arguments or configure them on Railway's web service before rebuilding. If you use Cloudflare, select Enable with JS Snippet installation in its Web Analytics settings.
Configure and verify the instance
- Connect the API to PostgreSQL and apply the database migrations.
- Configure
AUTH_URLwith the public Web origin and setAUTH_SECRETon the API. Follow the authentication deployment guide for the exact settings. - Check Web at
/healthzand API readiness at/readyz. Open the Web origin to create the first administrator.
Use the service smoke tests to verify a production deployment.
Use the Web origin when configuring Mobile or calling the public API.