{ "$schema": "https://railway.app/railway.schema.json", "build": { "builder": "NIXPACKS" }, "deploy": { "startCommand": "python PlanktonDetector/manage.py migrate && python PlanktonDetector/manage.py collectstatic --noinput && gunicorn --chdir ./PlanktonDetector/ PlanktonDetector.wsgi", "restartPolicyType": "ON_FAILURE", "restartPolicyMaxRetries": 10 } }