{ "$schema": "https://railway.app/railway.schema.json", "build": { "builder": "NIXPACKS" }, "deploy": { "startCommand": "python manage.py migrate; python manage.py reset_admin --password=RailwayTemp123!; 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" } } } }