{ "$schema": "https://railway.app/railway.schema.json", "build": { "builder": "NIXPACKS", "buildCommand": "cd apps/sim && bun install --frozen-lockfile && bun run build" }, "deploy": { "startCommand": "cd apps/sim && NODE_ENV=production bun run socket-server/index.ts", "healthcheckPath": "/health", "healthcheckTimeout": 300, "restartPolicyType": "ON_FAILURE", "restartPolicyMaxRetries": 10 }, "environments": { "production": { "variables": { "NODE_ENV": "production" } } } }