• By Discourse Charm Maintainers
Channel Version Revision Published Runs on
latest/stable 28 28 08 Apr 2021
Ubuntu 20.04
juju deploy discourse-charmers-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 2 months ago. Help improve this document in the forum.