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

# gopkg.in - a 12-Factor Application

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

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

Platform:

stable a8cbbd4e

```
juju deploy gopkg-k8s
```

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

* [app-port](https://charmhub.io/gopkg-k8s/configurations#app-port)
* [app-secret-key](https://charmhub.io/gopkg-k8s/configurations#app-secret-key)
* [app-secret-key-id](https://charmhub.io/gopkg-k8s/configurations#app-secret-key-id)
* [hostname](https://charmhub.io/gopkg-k8s/configurations#hostname)
* [metrics-path](https://charmhub.io/gopkg-k8s/configurations#metrics-path)
* [metrics-port](https://charmhub.io/gopkg-k8s/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.
