dokku shit

This commit is contained in:
Trey t
2023-06-26 11:00:11 -05:00
parent 8c049324a3
commit 554c37765a
9 changed files with 6 additions and 22 deletions
View File
+3
View File
@@ -0,0 +1,3 @@
web=1
worker=3
beat=1
+3
View 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: /usr/local/bin/celery-A werkout_api worker -l info
+7
View File
@@ -0,0 +1,7 @@
{
"scripts": {
"dokku": {
"predeploy": "/code/manage.py migrate --noinput"
}
}
}
+10
View 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