Bingo
Platform:
| Channel | Revision | Published | Runs on |
|---|---|---|---|
| 1/stable | 11 | Yesterday | |
| 1/edge | 10 | Yesterday |
juju deploy bingo --channel 1/stable
-
app-port | int
Default: 8080
Default port where the application will listen on.
-
app-secret-key | string
Long secret you can use for sessions, csrf or any other thing where you need a random secret shared by all units
-
app-secret-key-id | secret
This configuration is similar to
app-secret-key, but instead accepts a Juju user secret ID. The secret should contain a single key, "value", which maps to the actual application secret key. To create the secret, run the following command:juju add-secret my-app-secret-key value=<secret-string> && juju grant-secret my-app-secret-key my-app, and use the output secret ID to configure this option. -
base-url | string
Public base URL for generated paste links, e.g. https://paste.canonical.com. Injected as APP_BASE_URL.
-
log-level | string
Default: info
Logging level: debug|info|warn|error. Injected as APP_LOG_LEVEL.
-
max-paste-size-bytes | int
Default: 5242880
Maximum paste content size in bytes. Injected as APP_MAX_PASTE_SIZE_BYTES.
-
metrics-path | string
Default: /metrics
Path where the prometheus metrics will be scraped.
-
metrics-port | int
Default: 8080
Port where the prometheus metrics will be scraped.
-
oauth-redirect-path | string
Default: /auth/callback
Fixed path appended to base-url to build the OIDC callback redirect URI registered with the identity provider over the oauth relation. This is NOT meant to be changed: the Go app's callback route is hardcoded to /auth/callback and does not read this config, so any other value will register a callback with the identity provider that the app never serves, breaking login. Present only to satisfy paas_charm's relation wiring default.
-
oauth-scopes | string
Default: openid email profile
Space-separated OAuth scopes requested from the identity provider over the oauth relation. Must include 'openid'.
-
oauth-user-name-attribute | string
Default: sub
Claim used to identify the authenticated user, from the identity provider's userinfo response, over the oauth relation.
-
web-dir | string
Default: /app/web/dist
Path to the built frontend assets served as a SPA. Injected as APP_WEB_DIR. Empty disables static file serving.