Uwsgi

  • By charmers
Channel Version Revision Published Runs on
latest/stable 2 2 16 Feb 2021
Ubuntu 12.04
latest/edge 2 2 16 Feb 2021
Ubuntu 12.04
juju deploy uwsgi
Show information
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.

Platform:

Ubuntu
12.04

Discuss this charm

Share your thoughts on this charm with the community on discourse.

Join the discussion

Overview

This charm provides uWSGI from https://github.com/unbit/uwsgi.

Usage

This charm is designed to be used with WSGI applications. One example of this is the python-django charm. Deploying uwsgi should be as simple as:

juju bootstrap

juju deploy python-django
juju deploy uwsgi

juju add-relation python-django uwsgi

This should result in a fully functional uWSGI installation accessible on the unit's pulic IP address. The port will be 8080 unless you have modified the default configuration.

Configuration

There are currently only two configuration options:

  • uwsgi_processes - set to 4 by default
  • uwsgi_threads - set to 2 by default

These control the number of processes and threads created for each relation.

Contact Information

Author(s):

Report bugs at: http://bugs.launchpad.net/charms/+source/uwsgi Location: http://jujucharms.com/charms/precise/uwsgi