{ "$schema": "https://railway.app/railway.schema.json", "build": { "builder": "NIXPACKS", "buildCommand": "npm run build", "watchPatterns": ["services/**", "core/**", "agents/**"] }, "deploy": { "numReplicas": 1, "restartPolicyType": "ON_FAILURE", "restartPolicyMaxRetries": 10, "healthcheckPath": "/api/health", "healthcheckTimeout": 100 }, "domains": [{"name": "blackroad-private.up.railway.app"}], "env": { "NODE_ENV": {"default": "production"}, "SERVICE_NAME": {"default": "blackroad-private"}, "SERVICE_ENV": {"default": "production"}, "PORT": {"default": "3000"} }, "regions": ["us-west1"] }