---
title: Charmhub | Deploy Bingo using Charmhub - The Open Operator Collection
description: Deploy the latest version of Bingo as a Kubernetes Operator on any cloud.
url: https://charmhub.io/bingo/configurations
---

# Bingo

[Platform Engineering](https://charmhub.io/publisher/platform-engineering-team "View all packages from Platform Engineering")

* [Platform Engineering](https://charmhub.io/publisher/platform-engineering-team "View all packages from Platform Engineering")

Platform:

1/stable 1a9a9fa7

```
juju deploy bingo --channel 1/stable
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [app-port](https://charmhub.io/bingo/configurations#app-port)
* [app-secret-key](https://charmhub.io/bingo/configurations#app-secret-key)
* [app-secret-key-id](https://charmhub.io/bingo/configurations#app-secret-key-id)
* [base-url](https://charmhub.io/bingo/configurations#base-url)
* [log-level](https://charmhub.io/bingo/configurations#log-level)
* [max-paste-size-bytes](https://charmhub.io/bingo/configurations#max-paste-size-bytes)
* [metrics-path](https://charmhub.io/bingo/configurations#metrics-path)
* [metrics-port](https://charmhub.io/bingo/configurations#metrics-port)
* [oauth-redirect-path](https://charmhub.io/bingo/configurations#oauth-redirect-path)
* [oauth-scopes](https://charmhub.io/bingo/configurations#oauth-scopes)
* [oauth-user-name-attribute](https://charmhub.io/bingo/configurations#oauth-user-name-attribute)
* [web-dir](https://charmhub.io/bingo/configurations#web-dir)

[Learn about configurations >](https://juju.is/docs/juju/configuration#heading--application-configuration)

* 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.
