This repository was archived by the owner on Dec 27, 2021. It is now read-only.
This repository was archived by the owner on Dec 27, 2021. It is now read-only.
More generic deployment of django + uWSGI + nginx #67
Open
Description
When I was doing my uwsgi role I kind of tried to make it so it tries to get config from django roles, and failed miserably. But it would really be nice to have generic solutions for common deployment patterns like:
- Django + uWSGI + Nginxc
- Djabng + WSGI + apache
But I have no idea how to implement it so it really is usable for other people than me.
Some loose thoughts:
- Either pass context variables containing Django Settings such as root dir, wsgi module and so on, and make uWSGI read this context (it would also set own context wariables).
- Make Django, uWSGI, Nginx totally separate, and just create thin DjangoUwsgiNginx role that would do the integration.
Second idea is nicer because there is no hidden dependencies in context, first is nicer beceuse we have no interdependent role.
Metadata
Metadata
Assignees
Labels
No labels