mirror of
https://github.com/thecyberlearn/quantum-ai-v2.git
synced 2026-08-18 18:12:58 +00:00
- Restore database migrations to startup process with --run-syncdb flag - Add agents population and static file collection to deployment - Increase health check timeout to 90s for migration time - Add health check back with 15s intervals for better monitoring - Create comprehensive migration strategy documentation - Add Railway final setup guide with quantum-ai.up.railway.app URLs Key improvements: ✅ Fault-tolerant migration process (continues on warnings) ✅ Automatic database setup on deployment ✅ Health monitoring restored for production readiness ✅ Complete documentation for maintenance and troubleshooting 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
14 lines
512 B
JSON
14 lines
512 B
JSON
{
|
|
"$schema": "https://railway.app/railway.schema.json",
|
|
"build": {
|
|
"builder": "NIXPACKS"
|
|
},
|
|
"deploy": {
|
|
"startCommand": "python manage.py migrate --run-syncdb; python manage.py populate_agents; python manage.py collectstatic --noinput && gunicorn netcop_hub.wsgi:application --bind 0.0.0.0:$PORT --workers 1 --timeout 60",
|
|
"restartPolicyType": "ON_FAILURE",
|
|
"restartPolicyMaxRetries": 3,
|
|
"healthcheckPath": "/health/",
|
|
"healthcheckTimeout": 90,
|
|
"healthcheckInterval": 15
|
|
}
|
|
} |