~brad-marshall/charms/trusty/apache2-wsgi/fix-haproxy-relations

« back to all changes in this revision

Viewing changes to config.yaml

  • Committer: Robin Winslow
  • Date: 2014-05-27 14:00:44 UTC
  • Revision ID: robin.winslow@canonical.com-20140527140044-8rpmb3wx4djzwa83
Add all files

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
options:
 
2
    # Mandatory
 
3
    # ===
 
4
    app_tgz_url:
 
5
        description: "A url where a gzipped tarball of the application files can be downloaded"
 
6
 
 
7
    # Optional
 
8
    # ===
 
9
    wsgi_file_path:
 
10
        default: "app.py"
 
11
        description: "The location (within the project) of the WSGI script"
 
12
 
 
13
    wsgi_app_name:
 
14
        default: "app"
 
15
        description: "The name of the application inside the WSGI file"
 
16
 
 
17
    apt_dependencies:
 
18
        description: "Space separated list of extra apt packages to be installed."
 
19
 
 
20
    ssl_keyfile:
 
21
        description: "Base64 encoded keyfile for SSL"
 
22
 
 
23
    ssl_certificate:
 
24
        description: "Base64 encoded certificate file for SSL"
 
25
 
 
26
    server_name:
 
27
        default: "*"
 
28
        description: "The servername for inclusion in the Apache configuration"
 
29
 
 
30
    static_path:
 
31
        default: "static"
 
32
        description: "The path to the static folder within the application"
 
33
 
 
34
    static_url_path:
 
35
        default: "static"
 
36
        description: "The URL path to access static files"
 
37
 
 
38
    pip_no_index:
 
39
        default: False
 
40
        type: boolean
 
41
        description: "Prevent pip connecting to Python Package Index to download packages"
 
42
 
 
43
    pip_requirements_path:
 
44
        default: "requirements.txt"
 
45
        description: |
 
46
            A path (within the project) to pip requirements file
 
47
            - set this to blank to prevent installing from PyPi
 
48
 
 
49
    pip_dependencies_path:
 
50
        default: "dependencies/pip"
 
51
        description: "A path (within the project) to python dependencies"
 
52
 
 
53
    environment_variables:
 
54
        type: string
 
55
        description: "A dictionary of environment variables to be set in the instance"