Allow to pass log config to the start-reload.sh for the uvicorn #318
Answered
by
tiangolo
ievgennaida
asked this question in
Questions
|
Allow to pass log config to the start-reload.sh for the uvicorn. |
Answered by
tiangolo
Aug 25, 2024
Replies: 1 comment
|
Now that Uvicorn supports managing workers with Because of that, I deprecated this Docker image: https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker#-warning-you-probably-dont-need-this-docker-image Using Uvicorn directly with its configs would probably be much simpler than dealing with both Uvicorn and Gunicorn. |
0 replies
Answer selected by
tiangolo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now that Uvicorn supports managing workers with
--workers, including restarting dead ones, there's no need for Gunicorn. That also means that it's much simpler to build a Docker image from scratch now, I updated the docs to explain it.Because of that, I deprecated this Docker image: https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker#-warning-you-probably-dont-need-this-docker-image
Using Uvicorn directly with its configs would probably be much simpler than dealing with both Uvicorn and Gunicorn.