Example gunicorn conf file
This commit is contained in:
parent
df6db38535
commit
d0e1dc52f8
|
|
@ -31,8 +31,9 @@ local_settings.py
|
|||
# Sphinx files
|
||||
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/static
|
||||
|
||||
# Key file
|
||||
secret_key.txt
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
import multiprocessing
|
||||
|
||||
bind = "0.0.0.0:8000"
|
||||
|
||||
workers = multiprocessing.cpu_count() * 2 + 1
|
||||
Loading…
Reference in New Issue