Anonymous
HOBBYOP
2 months ago
I have a lot of values configured in railway.json, all others are being picked up by the dashboard. But drainSeconds is not.
1 Replies
full railway.json
{
"$schema": "https://railway.com/railway.schema.json",
"build": {
"buildCommand": "pnpm --filter @bw/agent build",
"watchPatterns": ["/apps/agent/**", "/packages/**"]
},
"deploy": {
"startCommand": "pnpm start:agent",
"drainSeconds": 180,
"healthcheckPath": "/api/health",
"healthcheckTimeout": 60,
"multiRegionConfig": {
"us-east4-eqdc4a": {
"numReplicas": 1
}
}
}
}