13 lines
460 B
Python
13 lines
460 B
Python
"""Environment-tunable Gunicorn defaults for the generic container."""
|
|
|
|
import os
|
|
|
|
bind = "0.0.0.0:5000"
|
|
workers = int(os.environ.get("GUNICORN_WORKERS", "2"))
|
|
timeout = int(os.environ.get("GUNICORN_TIMEOUT", "30"))
|
|
graceful_timeout = int(os.environ.get("GUNICORN_GRACEFUL_TIMEOUT", "30"))
|
|
keepalive = int(os.environ.get("GUNICORN_KEEPALIVE", "5"))
|
|
errorlog = "-"
|
|
accesslog = None # Query strings may contain verification/reset tokens.
|
|
capture_output = False
|