Channel Revision Published Runs on
latest/stable 3 10 Sep 2025
Ubuntu 22.04
latest/beta 3 09 Sep 2025
Ubuntu 22.04
juju deploy snaprecommend
Show information

Platform:

Learn about configurations >

  • flask-application-root | string

    Path in which the application / web server is mounted. This configuration will set the FLASK_APPLICATION_ROOT environment variable. Run app.config.from_prefixed_env() in your Flask application in order to receive this configuration.

  • flask-debug | boolean

    Whether Flask debug mode is enabled.

  • flask-env | string

    What environment the Flask app is running in, by default it's 'production'.

  • flask-permanent-session-lifetime | int

    Time in seconds for the cookie to expire in the Flask application permanent sessions. This configuration will set the FLASK_PERMANENT_SESSION_LIFETIME environment variable. Run app.config.from_prefixed_env() in your Flask application in order to receive this configuration.

  • flask-preferred-url-scheme | string

    Default: HTTPS

    Scheme for generating external URLs when not in a request context in the Flask application. By default, it's "HTTPS". This configuration will set the FLASK_PREFERRED_URL_SCHEME environment variable. Run app.config.from_prefixed_env() in your Flask application in order to receive this configuration.

  • flask-secret-key | string

    The secret key used for securely signing the session cookie and for any other security related needs by your Flask application. This configuration will set the FLASK_SECRET_KEY environment variable. Run app.config.from_prefixed_env() in your Flask application in order to receive this configuration.

  • flask-secret-key-id | secret

    This configuration is similar to flask-secret-key, but instead accepts a Juju user secret ID. The secret should contain a single key, "value", which maps to the actual Flask secret key. To create the secret, run the following command: juju add-secret my-flask-secret-key value=<secret-string> && juju grant-secret my-flask-secret-key flask-k8s, and use the output secret ID to configure this option.

  • openid-launchpad-team | string

    The team that is requested from U1 SSO.

  • ratings-backend | string

    The URL of the ratings backend service.

  • snapstore-macaroon | secret

    Secret needed to authenticate with the Snap Store.

  • webserver-keepalive | int

    Time in seconds for webserver to wait for requests on a Keep-Alive connection.

  • webserver-threads | int

    Run each webserver worker with the specified number of threads.

  • webserver-timeout | int

    Time in seconds to kill and restart silent webserver workers.

  • webserver-worker-class | string

    The webserver worker process class for handling requests. Can be either 'gevent' or 'sync'.

  • webserver-workers | int

    The number of webserver worker processes for handling requests.