gopkg.in - a 12-Factor Application

Platform:

Channel Revision Published Runs on
latest/stable 9 08 Oct 2026
Ubuntu 24.04
latest/edge 9 07 Oct 2026
Ubuntu 24.04
juju deploy gopkg-k8s

Learn about configurations >

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