-
gunicorn
gunicorn 'Green Unicorn' is a WSGI HTTP Server for UNIX, fast clients and sleepy applications.
Yep for production that works. In development tho I don't think the gunicorn --reload flag works with that worker type so you end up having to use uvicorn if you want to be able to code loading.
This may have changed but I remember this being an issue around 8-9 months ago the last time I checked and going back https://github.com/benoitc/gunicorn/issues/2339 it looks like the issue is still open.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
If anyone is interested I updated my example Django Docker app to 4.1 at: https://github.com/nickjj/docker-django-example
It includes running Django, Celery, gunicorn, Postgres, Redis, esbuild and Tailwind through Docker and Docker Compose. It's set up for development and production.
-
-
Thanks a lot!
By the way the version of the course on Udemy doesn't get updated. The full version of the course is at https://buildasaasappwithflask.com/ which includes lifetime free updates (it has over 10+ hours of extra updates and new features not on the Udemy version). Udemy is a really bad platform for instructors which is why I've been trying hard to decouple myself from them over time.
As for a tutorial on using this repo specifically, did you find the readme file lacking in any way? I tried to write the readme to be fully self contained. It would expect prior Docker knowledge tho. I did give a talk at DockerCon going over a bunch of Docker best practices at https://nickjanetakis.com/blog/best-practices-around-product.... It was using a Flask example repo not Django but everything still applies. The same patterns are used.