Skip to content

feat(docker): add gunicorn support & production default

Kevin Morris requested to merge kevr/aurweb:docker-prod-gunicorn into pu

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

Merge request reports