Example gunicorn conf file

This commit is contained in:
Oliver Walters 2019-07-11 23:57:07 +10:00
parent df6db38535
commit d0e1dc52f8
2 changed files with 7 additions and 1 deletions

3
.gitignore vendored
View File

@ -31,8 +31,9 @@ local_settings.py
# Sphinx files # Sphinx files
docs/_build docs/_build
# Local media storage (only when running in development mode) # Local static and media file storage (only when running in development mode)
InvenTree/media InvenTree/media
InvenTree/static
# Key file # Key file
secret_key.txt secret_key.txt

View File

@ -0,0 +1,5 @@
import multiprocessing
bind = "0.0.0.0:8000"
workers = multiprocessing.cpu_count() * 2 + 1