quantum-ai-v3/railway.json
Claude af67cfd077 🚀 Fix Railway deployment - remove obsolete populate_agents command
Railway configuration updated for modern file-based agent system:
- Removed populate_agents from startup command (no longer needed)
- File-based agents load automatically from JSON configs
- Maintains migration, admin setup, and static file collection
- Ready for Railway deployment with PostgreSQL

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-14 23:03:37 +05:30

20 lines
654 B
JSON

{
"$schema": "https://railway.app/railway.schema.json",
"build": {
"builder": "NIXPACKS"
},
"deploy": {
"startCommand": "python manage.py migrate; python manage.py reset_admin; python manage.py verify_email admin@quantumtaskai.com --force || true; 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
},
"environments": {
"production": {
"variables": {
"DEBUG": "False",
"DEPLOYMENT_ENVIRONMENT": "production",
"BRANCH_NAME": "main"
}
}
}
}