Fix Railway deployment configuration and dependencies
- Update railway.json to use absolute paths instead of cd commands - Remove duplicate graphiti-core dependency from mcp_server/pyproject.toml - Configure proper PYTHONPATH for Railway deployment context 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
69209f9865
commit
56f5d154c7
2 changed files with 2 additions and 3 deletions
|
|
@ -9,5 +9,4 @@ dependencies = [
|
|||
"openai>=1.68.2",
|
||||
"graphiti-core>=0.14.0",
|
||||
"azure-identity>=1.21.0",
|
||||
"graphiti-core",
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"$schema": "https://railway.app/railway.schema.json",
|
||||
"build": {
|
||||
"buildCommand": "cd mcp_server && uv sync"
|
||||
"buildCommand": "uv sync --directory mcp_server"
|
||||
},
|
||||
"deploy": {
|
||||
"startCommand": "cd mcp_server && python graphiti_mcp_server.py --transport sse --host 0.0.0.0 --port 8080",
|
||||
"startCommand": "PYTHONPATH=/app/mcp_server python /app/mcp_server/graphiti_mcp_server.py --transport sse --host 0.0.0.0 --port 8080",
|
||||
"restartPolicyType": "on_failure",
|
||||
"restartPolicyMaxRetries": 10
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue