mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Example gunicorn conf file
This commit is contained in:
parent
df6db38535
commit
d0e1dc52f8
3
.gitignore
vendored
3
.gitignore
vendored
@ -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
|
||||
|
5
InvenTree/gunicorn.conf.py
Normal file
5
InvenTree/gunicorn.conf.py
Normal file
@ -0,0 +1,5 @@
|
||||
import multiprocessing
|
||||
|
||||
bind = "0.0.0.0:8000"
|
||||
|
||||
workers = multiprocessing.cpu_count() * 2 + 1
|
Loading…
Reference in New Issue
Block a user