---
title: Charmhub | Deploy gopkg.in 12-Factor Operator using Charmhub - The Open Operator
  Collection
description: "Deploy the latest version of gopkg.in 12-Factor Operator\n as a Kubernetes\
  \ Operator on any cloud."
url: https://charmhub.io/gopkg-charmed/configurations
---

# gopkg.in 12-Factor Operator

[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:

edge 1

```
juju deploy gopkg-charmed --channel edge
```

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

* [app-port](https://charmhub.io/gopkg-charmed/configurations#app-port)
* [app-secret-key](https://charmhub.io/gopkg-charmed/configurations#app-secret-key)
* [app-secret-key-id](https://charmhub.io/gopkg-charmed/configurations#app-secret-key-id)
* [hostname](https://charmhub.io/gopkg-charmed/configurations#hostname)
* [metrics-path](https://charmhub.io/gopkg-charmed/configurations#metrics-path)
* [metrics-port](https://charmhub.io/gopkg-charmed/configurations#metrics-port)

[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.
* hostname | string

  Default: gopkg.in

  Hostname rendered into import paths and links (APP\_HOSTNAME).
* 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.
