Configuring Gunicorn for Development and Production with Env Variables

preview_player
Показать описание
How to use the same gunicorn config in dev and prod but still be able to differentiate your settings.

Hit the subscribe button to receive more videos like this!

---

Reference links:

---

Follow along?

Рекомендации по теме
Комментарии
Автор

Great, as always. Thanks a lot! And of course I'd like to see video about ansible and env.

nnutipa
Автор

thanks for making the repo public, I actually looked at some design pattern and code organization of the project... And I found it quite clear and well organized.

fallout__boy
Автор

Hey there, great video! Question: I don't see an option for my flask app to receive the user details (REMOTE_USER) in gunicorn
I was able to parse it using ```username, password = decode(request.headers.get("Authorization"))```, but i expect gunicorn to do it for me, and me being able to use it as an ENV variable. Am I missing something?

krishmoodbidri
Автор

Just found this video. Thanks for posting. Do the environment variables have to be set in a .env file? I’m using one right now but noticed if I don’t use that, my flask app cant detect exported environment variables with getenv.

kennethbass
Автор

Hi, How can I trigger for reloading code such as touch-reload uwsgi. Thanks.

westsaharut
Автор

Hi, Any chance of Django+Docker tutorial? Thanks for the tuts anyway.

mahmudsajib
Автор

what's the terminal he is using ??

karki