dokku shit
This commit is contained in:
0
misc/CHECKS
Normal file
0
misc/CHECKS
Normal file
3
misc/DOKKU_SCALE
Normal file
3
misc/DOKKU_SCALE
Normal file
@@ -0,0 +1,3 @@
|
||||
web=1
|
||||
worker=3
|
||||
beat=1
|
||||
3
misc/Procfile
Normal file
3
misc/Procfile
Normal file
@@ -0,0 +1,3 @@
|
||||
web: daphne werkout_api.asgi:application --port 5000 --bind 0.0.0.0 -v2
|
||||
beat: /usr/local/bin/celery -A werkout beat -linfo
|
||||
worker: python3 manage.py runworker channel_layer -v2
|
||||
7
misc/app.json
Normal file
7
misc/app.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"scripts": {
|
||||
"dokku": {
|
||||
"predeploy": "/code/manage.py migrate --noinput"
|
||||
}
|
||||
}
|
||||
}
|
||||
10
misc/uwsgi.ini
Normal file
10
misc/uwsgi.ini
Normal file
@@ -0,0 +1,10 @@
|
||||
[uwsgi]
|
||||
module=werkout.wsgi:application
|
||||
master=True
|
||||
vacuum=True
|
||||
max-requests=5000
|
||||
http-socket=:5000
|
||||
processes=3
|
||||
harakiri=120
|
||||
single-interpreter=True
|
||||
enable-threads=True
|
||||
Reference in New Issue
Block a user