AeThex-OS/railway.json
MrPiglr 0caf77b542 fix(railway): change healthcheck path to /health
- Change from '/' to '/health' to avoid static file catch-all
- Root '/' is caught by serveStatic() in production
- /health endpoint returns JSON status correctly
2026-02-12 13:48:21 -07:00

14 lines
345 B
JSON

{
"$schema": "https://railway.app/railway.schema.json",
"build": {
"builder": "NIXPACKS",
"buildCommand": "npm install && npm run build"
},
"deploy": {
"startCommand": "npm start",
"healthcheckPath": "/health",
"healthcheckTimeout": 100,
"restartPolicyType": "ON_FAILURE",
"restartPolicyMaxRetries": 10
}
}