update configuration

This commit is contained in:
jonaswinkler
2021-01-27 19:57:04 +01:00
parent 40c6d2c7ce
commit 89cb41d564
7 changed files with 167 additions and 100 deletions

View File

@@ -1,7 +1,7 @@
bind = '0.0.0.0:8000'
backlog = 2048
workers = 3
worker_class = 'sync'
worker_class = 'uvicorn.workers.UvicornWorker'
worker_connections = 1000
timeout = 20
keepalive = 2

View File

@@ -7,8 +7,8 @@ logfile_backups=10 ; # of main logfile backups; 0 means none, default
loglevel=info ; log level; default info; others: debug,warn,trace
user=root
[program:daphne]
command=daphne -b 0.0.0.0 -p 8000 paperless.asgi:application
[program:gunicorn]
command=gunicorn -c /usr/src/paperless/gunicorn.conf.py paperless.asgi:application
user=paperless
stdout_logfile=/dev/stdout