{ "$schema": "https://railway.app/railway.schema.json", "build": { "builder": "nixpacks", "buildCommand": "pip install -r requirements.txt" }, "deploy": { "startCommand": "uvicorn api:app --host 0.0.0.0 --port $PORT", "restartPolicyType": "on_failure", "restartPolicyMaxRetries": 3 }, "environments": { "production": { "variables": { "PYTHONPATH": "/app", "TRADINGAGENTS_API_HOST": "0.0.0.0", "TRADINGAGENTS_API_PORT": "$PORT" } } } }