- Use absolute path /app/mcp_server in deploy command - Switch to uv run for automatic virtual environment handling - Eliminates cd command failures in Railway deployment environment 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
11 lines
No EOL
333 B
JSON
11 lines
No EOL
333 B
JSON
{
|
|
"$schema": "https://railway.app/railway.schema.json",
|
|
"build": {
|
|
"buildCommand": "cd mcp_server && uv sync"
|
|
},
|
|
"deploy": {
|
|
"startCommand": "cd /app/mcp_server && uv run graphiti_mcp_server.py --transport sse --host 0.0.0.0 --port 8080",
|
|
"restartPolicyType": "on_failure",
|
|
"restartPolicyMaxRetries": 10
|
|
}
|
|
} |