Add gunicorn and railway setup
This commit is contained in:
parent
8715bffbe4
commit
a9b193bd39
11
railway.json
Normal file
11
railway.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://railway.app/railway.schema.json",
|
||||||
|
"build": {
|
||||||
|
"builder": "NIXPACKS"
|
||||||
|
},
|
||||||
|
"deploy": {
|
||||||
|
"startCommand": "python manage.py migrate && python manage.py collectstatic --noinput && gunicorn mysite.wsgi",
|
||||||
|
"restartPolicyType": "ON_FAILURE",
|
||||||
|
"restartPolicyMaxRetries": 10
|
||||||
|
}
|
||||||
|
}
|
@ -29,6 +29,8 @@ exceptiongroup==1.1.3
|
|||||||
executing==2.0.0
|
executing==2.0.0
|
||||||
fastjsonschema==2.19.0
|
fastjsonschema==2.19.0
|
||||||
fqdn==1.5.1
|
fqdn==1.5.1
|
||||||
|
gunicorn==21.2.0
|
||||||
|
idna==2.10
|
||||||
ipykernel==6.25.2
|
ipykernel==6.25.2
|
||||||
ipython==8.16.1
|
ipython==8.16.1
|
||||||
ipywidgets==8.1.1
|
ipywidgets==8.1.1
|
||||||
|
Loading…
Reference in New Issue
Block a user