Discourse

  • By Arturo Enrique Seijas Fernández
Channel Revision Published Runs on
latest/stable 21 20 Apr 2023
Ubuntu 20.04
latest/edge 45 Yesterday
Ubuntu 20.04
juju deploy discourse-k8s
Show information

Platform:

Hostname configuration

This charm exposes the external_hostname configuration option to specify the external hostname of the application.

To expose the application it is recommended to set that configuration option and deploy and relate the Nginx Ingress Integrator Operator, that will be automatically configured with the values provided by the charm.

Assuming Discourse is already up and running as discourse-k8s, you’ll need to run the following commands:

# Configure the external hostname
juju config discourse-k8s external_hostname=discourse.local
# Deploy and relate the Nginx Ingress Integrator charm
juju deploy nginx-ingress-integrator
juju trust nginx-ingress-integrator --scope cluster # if RBAC is enabled
juju relate nginx-ingress-integrator discourse-k8s

For more details on the configuration options and their default values see the configuration reference.


Help us improve this documentation

Most of this documentation can be collaboratively discussed and changed on the respective topic in the doc category of the Charmhub forum. See the documentation guidelines if you’d like to contribute.

Last updated 6 months ago. Help improve this document in the forum.