Skip to content

Self-hosted MCP server + dashboard giving Claude Code, Cursor & Hermes agents shared long-term memory over a git-backed markdown vault. Agent-native, Obsidian-compatible second brain — markdown RAG, no vector DB.

953 B
Raw Blame
[build]
builder = "dockerfile"
dockerfilePath = "Dockerfile"

[deploy]
# No startCommand on purpose. The image is ENTRYPOINT ["/usr/bin/tini","--"] + CMD ["bun","run","start"],
# and tini as PID 1 is what reaps the orphaned git helpers (see Dockerfile). A platform start command
# is the one thing that can quietly displace that, so the image owns how the server is launched.
healthcheckPath = "/api/health"
healthcheckTimeout = 100
restartPolicyType = "on_failure"
# 5 was too few: once the PID budget filled, every restart re-crashed within the same minute, the
# budget was exhausted, and Railway gave up — turning a self-healing crash into hours of hard downtime.
restartPolicyMaxRetries = 10

# Deploy this repo (the app). Mount a volume at /data and set ENGRAM_DATA_DIR=/data;
# app state + vault clones live there. Vault repos are connected in the dashboard
# (Workspaces) — no GIT_REMOTE env. Most other config is set in Settings, not here.