[2025-04-13] Docker setup
This commit is contained in:
parent
c05e550f74
commit
aa8c36d4b9
7 changed files with 23 additions and 0 deletions
9
build/gunicorn_config.py
Normal file
9
build/gunicorn_config.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
import os
|
||||
|
||||
workers = int(os.environ.get('GUNICORN_PROCESSES', '2'))
|
||||
threads = int(os.environ.get('GUNICORN_THREADS', '4'))
|
||||
# timeout = int(os.environ.get('GUNICORN_TIMEOUT', '120'))
|
||||
bind = os.environ.get('GUNICORN_BIND', '0.0.0.0:8080')
|
||||
|
||||
forwarded_allow_ips = '*'
|
||||
secure_scheme_headers = { 'X-Forwarded-Proto': 'https' }
|
Loading…
Add table
Add a link
Reference in a new issue