Gunicorn

  • By Franco Luciano Forneron Buschiazzo
Channel Revision Published Runs on
latest/stable 45 25 Nov 2022
Ubuntu 20.04
latest/edge 96 26 Apr 2024
Ubuntu 20.04
juju deploy gunicorn-k8s --channel edge
Show information

Platform:

Learn about configurations >

  • environment | string

    Jinja2 template of a YAML-formatted associative array which will be added to the environment of the container. The context used to render the template is filled with relation data. For example, if you use : DEBUG_LEVEL: 2 DB_URI: {{pg.db_uri}} your pods will get the "DEBUG_LEVEL" environment variable set to 2, and the "DB_URI" environment variable will be set to the "db_uri" relation data item provided by the "pg" relation.

  • external_hostname | string

    External hostname this gunicorn app should respond to. If left blank, the juju application name will be used.

  • external_port | int

    Default: 8080

    External port for Ingress configuration.

  • startup_command | string

    Default: /srv/gunicorn/run

    Command required to start up the docker image provided.