Skip to content

fix(deploy): use $PORT env var for Railway#11

Merged
doublesilver merged 1 commit into
devfrom
fix/railway-port-env
Feb 28, 2026
Merged

fix(deploy): use $PORT env var for Railway#11
doublesilver merged 1 commit into
devfrom
fix/railway-port-env

Conversation

@doublesilver
Copy link
Copy Markdown
Owner

Summary

  • Use ${PORT:-8000} instead of hardcoded 8000 in railway.toml
  • Remove healthcheckPath temporarily until first successful deploy
  • Railway assigns PORT dynamically; hardcoded port causes routing failure

Test plan

  • Railway dev deployment succeeds
  • API responds at assigned domain

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>
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 28, 2026

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

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

@doublesilver doublesilver merged commit dc49525 into dev Feb 28, 2026
5 checks passed
@doublesilver doublesilver deleted the fix/railway-port-env branch February 28, 2026 02:14
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