Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move to uwsgi #301

Closed
chicco785 opened this issue Apr 4, 2020 · 3 comments
Closed

move to uwsgi #301

chicco785 opened this issue Apr 4, 2020 · 3 comments
Assignees

Comments

@chicco785
Copy link
Contributor

Is your feature request related to a problem? Please describe.
flask runner are not the recommended solution for production

Describe the solution you'd like
move to uwsgi, see here:
https://github.com/hellt/nginx-uwsgi-flask-alpine-docker/blob/master/python3/Dockerfile

Additional context
Hopefully this make ql container more performing

@c0c0n3
Copy link
Member

c0c0n3 commented Apr 6, 2020

See also Flask deployment options over here:

Notice what the docs say about using the built-in server for prod workloads

Flask’s built-in server is not suitable for production

oh dear :-)

@chicco785
Copy link
Contributor Author

you get the exact same message everytime quantumleap starts...

@c0c0n3
Copy link
Member

c0c0n3 commented Sep 11, 2020

In the end we decided to use Gunicorn instead of uWSGI. Since we now have implemented the necessary Gunicorn plumbing (#357), I'm closing this issue.

@c0c0n3 c0c0n3 closed this as completed Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants