Unable to supply app through method (e.g. 'main()') #77
Unanswered
slobodaapl
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
Description
When using the uvicorn-gunicorn docker image, it is possible to supply the app as a method using the environment variable, but this seems to not reflect when running the app standalone through the fastapi cli. It doesn't identify the main method as a FastAPI app.
Operating System
Windows
Operating System Details
Win 11
Python Version
3.11.9
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions