Discourse
- By Arturo Enrique Seijas Fernández
Channel | Version | Revision | Published | Runs on |
---|---|---|---|---|
latest/stable | 6 | 6 | 10 Feb 2022 | |
latest/edge | 15 | 15 | 05 Jan 2023 |
juju deploy discourse-k8s
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
By default, Discourse will be set up to create users locally, in the PostgreSQL database configured for the application. For local testing it’s usually easiest to create a custom admin user via the rails console than to configure an email server that can send you a confirmation email. To do this, simply get a shell on the discourse workload pod, and then run:
cd /srv/discourse/app && ./bin/bundle exec rake admin:create RAILS_ENV=production
You’ll then be prompted to enter login information that you can later use to connect to Discourse.
For production deployments, SAML authentication can be used by adding the SAML plugin in the docker image you’re using. See the section on plugins and custom images for more details.
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.