Nottrobin Wsgi App Legacy
- Robin Winslow
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 2 | 19 Mar 2021 | |
latest/stable | 1 | 19 Mar 2021 |
juju deploy nottrobin-wsgi-app-legacy
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
-
apt_dependencies | string
A space-separated list of apt dependencies to install
-
archive_filename | string
The filename for the archive - e.g. "code_archive.tgz"
-
build_label | string
The build label given to the code archive and corresponding to the path from which the archived code should be installed. For example, a value of r'2' tells the charm to use the archive at 'r2/code_archive.tgz'.
-
code_assets_uri | string
An optional URI to download the archive from This shouldn't be the whole URI but the earlier part (e.g.: 'https://example.com/AUTH/container') for this format: {{ code_assets_uri }}/{{ build_label }}/{{ archive_filename }} NB: The URI should not include a trailing slash
-
current_symlink | string
Default: latest
The symlink of the code to run. The default of 'latest' will use the most recently added build on the instance. Specifying a differnt label (eg. "r235") will symlink to that directory assuming it has been previously added to the instance.
-
environment_variables | string
A space separated list of environment variables for the app - in Bash variable syntax
-
nagios_context | string
Default: juju
The host_name value in nagios service config files written when related to nrpe-external-master are prefixed with this value.
-
nagios_http_hostname | string
Default: 127.0.0.1
The hostname to use in the Host: header of the check_http Nagios check when testing the health of the app server.
-
nagios_http_status | int
Default: 200
The expected HTTP status of the nagios check
-
nagios_index_content | string
A string to check for inside the index page response - for nagios to test
-
nagios_index_path | string
Default: /
The path within the URI to the index page of the website - for nagios to test
-
nagios_servicegroups | string
A comma-separated list of nagios servicegroups. If left empty, the nagios_context will be used as the servicegroup.
-
pip_cache_path | string
The location of the pip-cache to install requirements from. If pip-cache is present, pip will not attempt to connect to PyPi, and instead look for requirements in the specified cache folder.
-
requirements_path | string
The location of the requirements file within the archive. Requirements in this file will be installed with
pip install
-
update_make_target | string
After the code is extracted, the charm will run: $ make <update_make_target> in the project directory. You can define this make target in your project to run any commands necessary to update your app
-
webservice_port | string
The port of for any incoming webservice relations.
-
webservice_protocol | string
Default: http
The protocol of for any incoming webservice relations.
-
wsgi_application | string
The WSGI application within the archive, in Python notation E.g.: my_app.wsgi:application