feat: add FASTAPI_WORKERS parameter

This commit is contained in:
Abhishek Kumar 2026-05-13 15:09:09 +05:30
parent 7c0015917d
commit ac474578d5
5 changed files with 123 additions and 23 deletions

View file

@ -107,8 +107,10 @@ services:
MINIO_BUCKET: "voice-audio"
MINIO_SECURE: "false"
# FastAPI workers count
FASTAPI_WORKERS: 1
# Number of uvicorn worker processes (each is its own process bound to a
# distinct port starting at 8000). nginx load-balances across them with
# least_conn — see setup_remote.sh.
FASTAPI_WORKERS: "${FASTAPI_WORKERS:-1}"
# Langfuse — credentials can be set here or per-organization via the UI
# at /settings. Tracing is automatically active when credentials are