• By Arturo Enrique Seijas Fernández
Channel Version Revision Published Runs on
latest/stable 6 6 10 Feb 2022
Ubuntu 20.04
latest/edge 15 15 05 Jan 2023
Ubuntu 20.04
juju deploy discourse-k8s
Show information


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.

Last updated a month ago. Help improve this document in the forum.