---
title: "Deploy Cairn"
description: "Your own self-hosted coach for training, nutrition and longevity."
category: "AI/ML"
url: https://railway.com/deploy/cairn
---

# Deploy Cairn

Your own self-hosted coach for training, nutrition and longevity.

**[Deploy Cairn on Railway](https://railway.com/template/cairn)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/cairn/manifest.json

- **Creator:** Cairn
- **Category:** AI/ML
- **Total deploys:** 1

## Template content

### cairn

- **Image:** ghcr.io/zilet/cairn:latest
- **Health check:** /api/health
- **Public domain:** Yes

## Documentation

# Deploy and Host Cairn on Railway

**Cairn** is a self-hosted wellness OS for training, nutrition and longevity. It opens to a calm read
of your day and a coach that suggests, never scores. Open source (MIT): https://github.com/zilet/cairn

## About Hosting Cairn

This template runs the published image (`ghcr.io/zilet/cairn:latest`) on your own Railway account,
with one volume at `/data` for everything: the database, your AI provider's sign-in and its tools.
Image auto updates are on, so new releases arrive in your maintenance window.

## How to use it

1. Deploy, then open the public URL Railway gives the service.
2. Sign in with the token Railway generated: the service's **Variables** tab, `CAIRN_AUTH_TOKEN`.
   Keep it somewhere safe; it is your recovery key. Add a passkey or pair your phone from
   **Settings → Devices**.
3. The welcome asks you to connect the AI subscription you already have (Claude, ChatGPT, Google or
   Grok). The coach then plans your first week.

## Common Use Cases

- A daily read of what kind of day today should be, from your lifts, runs, sleep and food
- Strength and running plans that adapt to what you actually log
- Lab results connected to training and nutrition (informational, not medical advice)

## Dependencies for Cairn Hosting

- An AI subscription you already have (Claude, ChatGPT, Google or Grok), connected in the app
- At least 1 GB of memory is recommended for AI coaching

### Deployment Dependencies

- Guide: https://github.com/zilet/cairn/blob/main/docs/HOSTING.md
- A trial volume is 0.5 GB, enough for one AI provider. On Hobby, grow it to 5 GB (click the volume
  → **Live Resize**).

## Why Deploy Cairn on Railway?

Nothing to keep running at home, a public HTTPS address out of the box, and updates that arrive on
their own. Your data lives on your own Railway volume, under your own account.


## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [stella](https://railway.com/deploy/stella) — Self-host stella with web, API, Postgres, Redis, and object storage.
- [Hermes Agent | OpenClaw Alternative with Dashboard](https://railway.com/deploy/hermes-agent-or-openclaw-alternative-wit) — Self-Hosted Hermes AI Agent for Telegram, Discord & Slack

Open this page in a browser: https://railway.com/deploy/cairn
