Skip to content

Bypass fastapi/uvcorn#1

Merged
surenderssm merged 4 commits intoembr-devs:mainfrom
sarsharma:main
Feb 18, 2026
Merged

Bypass fastapi/uvcorn#1
surenderssm merged 4 commits intoembr-devs:mainfrom
sarsharma:main

Conversation

@sarsharma
Copy link
Copy Markdown
Contributor

@sarsharma sarsharma commented Feb 18, 2026

This pull request updates the application's deployment approach to use Gunicorn with a WSGI entrypoint, improving compatibility and simplifying deployment. The main changes involve replacing the previous Uvicorn-based ASGI server with a Gunicorn-compatible WSGI wrapper and updating documentation and configuration accordingly.

Deployment and Server Changes:

  • Added a new application.py file that wraps the FastAPI ASGI app with a2wsgi, enabling Gunicorn to serve the app using its default sync workers.
  • Updated the example run command in README.md to use gunicorn --bind 0.0.0.0:8008 --reload application:app instead of Uvicorn.
  • Removed the Uvicorn-based start command from build.yaml, reflecting the switch to Gunicorn for serving the app.

@surenderssm surenderssm merged commit d8ebba1 into embr-devs:main Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants