mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Supply FASTAPI_BACKEND=gunicorn and FASTAPI_WORKERS=<threads_num> to docker-compose up to use the gunicorn backend. This is defaulted in production to gunicorn, but FASTAPI_WORKERS should definitely be configured by any production deployment. Signed-off-by: Kevin Morris <kevr@0cost.org>
2 lines
44 B
Bash
2 lines
44 B
Bash
FASTAPI_BACKEND="uvicorn"
|
|
FASTAPI_WORKERS=2
|