Plankton_Detector/railway.json
Piotr Szkudlarek 574e6b0748 Add whitenoise
2024-01-15 01:35:29 +01:00

11 lines
408 B
JSON

{
"$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
}
}