Skip to content
This repository has been archived by the owner on Dec 27, 2021. It is now read-only.

More generic deployment of django + uWSGI + nginx #67

Open
jbzdak opened this issue Oct 16, 2012 · 1 comment
Open

More generic deployment of django + uWSGI + nginx #67

jbzdak opened this issue Oct 16, 2012 · 1 comment

Comments

@jbzdak
Copy link
Contributor

jbzdak commented Oct 16, 2012

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.

@diogobaeder
Copy link
Contributor

I think this may have something to do with the Bundles we've been discussing before, which would be responsible for setting up specific applications and their requirements, such as WordpressBundle, for example. This would make total sense as a Bundle, to me, but we haven't specified yet what would be the boundary between bundles and roles.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants