~patrick-hetu/charms/precise/python-django/trunk

« back to all changes in this revision

Viewing changes to config.yaml

  • Committer: Patrick Hetu
  • Date: 2013-05-29 18:52:19 UTC
  • Revision ID: patrick.hetu@gmail.com-20130529185219-ja50gwwnhau9neh7
sync with the latest gunicorn and memcached charm

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
        default: ""
103
103
        description: |
104
104
          The Python path to a Django settings module.
105
 
          Leave it empty for project root.
 
105
          Leave it empty for settings.
106
106
    urls_dir_name:
107
107
        type: string
108
108
        default: "juju_urls"
129
129
          Set the variable to an empty string if you don't want the feature.
130
130
    wsgi_wsgi_file:
131
131
        type: string
132
 
        default: ""
133
 
        description: "The name of the WSGI application. Leave it empty for {{project_name}}.wsgi"
 
132
        default: "wsgi"
 
133
        description: "The name of the WSGI application."
134
134
    wsgi_workers:
135
135
        type: int
136
136
        default: 0
137
 
        description: "The number of worker process for handling requests. 0 for cpu + 1"
 
137
        description: "The number of worker process for handling requests. 0 for count(cpu) + 1"
138
138
    wsgi_worker_class:
139
139
        type: string
140
140
        default: "sync"
141
 
        description: "Gunicorn workers type."
 
141
        description: "Gunicorn workers type. Can be: sync, eventlet, gevent, tornado"
142
142
    wsgi_worker_connections:
143
143
        type: int
144
144
        default: 1000
154
154
    wsgi_timeout:
155
155
        type: int
156
156
        default: 30
157
 
        description: ""
 
157
        description: "Timeout of a request in seconds."
158
158
    wsgi_keep_alive:
159
159
        type: int
160
160
        default: 2
161
 
        description: ""
 
161
        description: "Keep alive time in seconds."
162
162
    wsgi_umask:
163
163
        type: string
164
164
        default: "0"
173
173
        description: "Switch worker process to run as this group. A valid group id (as an int) or the name."
174
174
    wsgi_log_file:
175
175
        type: string
176
 
        default: ""
177
 
        description: "The log file to write to. If empty the file would be <your_application_dir>/gunicorn.log"
 
176
        default: "-"
 
177
        description: "The log file to write to. If empty the logs would be handle by upstart."
178
178
    wsgi_log_level:
179
179
        type: string
180
180
        default: "info"
185
185
        description: "The Access log file to write to."
186
186
    wsgi_access_logformat:
187
187
        type: string
188
 
        default: '%(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s"'
189
 
        description: "The Access log format ."
 
188
        default: ""
 
189
        description: "The Access log format. Don't forget to escape all quotes and round brackets."
190
190
    wsgi_extra:
191
191
        type: string
192
192
        default: ""
193
 
        description: "Extra settings. For example: {--debug},"
 
193
        description: "Space separated extra settings. For example: --debug"
194
194
    wsgi_timestamp:
195
195
        type: string
196
196
        default: ""
197
 
        description: "The variable to modify to trigger Gunicorn reload"
 
197
        description: "The variable to modify to trigger Gunicorn reload."
198
198
    python_path:
199
199
        type: string
200
200
        default: ""
201
 
        description: "Set PYTHONPATH environment variable"
 
201
        description: "Set an additionnal PYTHONPATH to the project."
 
202
    listen_ip:
 
203
        type: string
 
204
        default: "0.0.0.0"
 
205
        description: "IP adresses that Gunicorn will listen on. By default we listen on all of them."
202
206
    port:
203
207
        type: int
204
208
        default: 8080
205
 
        description: "Default listen port"
 
209
        description: "Port the application will be listenning."