{ "$schema": "https://railway.app/railway.schema.json", "build": { "builder": "DOCKERFILE", "dockerfilePath": "Dockerfile" }, "deploy": { "startCommand": "gunicorn --bind 0.0.0.0:$PORT --workers 1 --threads 16 --timeout 180 app:app", "healthcheckPath": "/healthz", "healthcheckTimeout": 120, "restartPolicyType": "ON_FAILURE", "restartPolicyMaxRetries": 5, "numReplicas": 1 } }