"""Gunicorn configuration for the backend service. All values can be overridden with GUNICORN_* environment variables. """ import os bind = os.getenv("GUNICORN_BIND", "0.0.0.0:8000") workers = int(os.getenv("GUNICORN_WORKERS", "1")) worker_class = "uvicorn.workers.UvicornWorker" timeout = int(os.getenv("GUNICORN_TIMEOUT", "120")) graceful_timeout = int(os.getenv("GUNICORN_GRACEFUL_TIMEOUT", "30")) accesslog = "-" errorlog = "-"