Skip to content

fix(deploy): use direct uvicorn command for Railway - #10

Merged
doublesilver merged 6 commits into
mainfrom
dev
Feb 28, 2026
Merged

doublesilver merged 6 commits into
mainfrom
dev

Conversation

@doublesilver

Copy link
Copy Markdown
Owner

Summary

  • Forward-merge from dev: fix Railway startCommand in railway.toml
  • NIXPACKS doesn't include start.sh → use direct uvicorn call

doublesilver and others added 2 commits February 27, 2026 20:53
NIXPACKS builder doesn't include start.sh in the build artifact,
causing "cannot open ./start.sh" errors on Railway.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fix(deploy): use direct uvicorn command instead of start.sh
@vercel

vercel Bot commented Feb 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
knowledge-copilot Ready Ready Preview, Comment Feb 28, 2026 2:22am

doublesilver and others added 2 commits February 28, 2026 11:13
Railway assigns PORT dynamically. Hardcoded 8000 causes healthcheck
failure because Railway routes traffic to $PORT, not 8000.
Remove healthcheck until first successful deployment is confirmed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fix(deploy): use $PORT env var for Railway
doublesilver and others added 2 commits February 28, 2026 11:20
Railway's startCommand doesn't use shell expansion by default.
Wrap in sh -c so $PORT is properly resolved at runtime.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fix(deploy): wrap startCommand in sh -c for env var expansion
@railway-app
railway-app Bot temporarily deployed to knowledge-copilot / development February 28, 2026 02:21 Inactive
@doublesilver
doublesilver merged commit fd8a0e2 into main Feb 28, 2026
9 checks passed

This branch was successfully deployed

1 active and 2 inactive deployments
development — ecb8b6c4 Deployed Feb 28, 2026 by doublesilver via deploy-development #29
Preview — ecb8b6c4 Deployed Feb 28, 2026 by vercel[bot]
knowledge-copilot / development — ecb8b6c4 Deployed Feb 28, 2026 by railway-app[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant