Discourse

  • 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

Platform:

  • cors_origin | string

    Default: *

    Cors origin string to use, defaults to '*'

  • db_name | string

    PostgreSQL database name. Defaults to Juju Application name.

  • developer_emails | string

    Default: user@foo.internal

    Comma delimited list of email addresses that should have developer level access

  • discourse_image | string

    Default: discoursecharmers/discourse:v2.7.10.1-20.04_edge

    Discourse image to use

  • enable_cors | boolean

    Default: true

    Enable Cross-origin Resource Sharing (CORS) at the application level (required for SSO)

  • external_hostname | string

    Default: foo.internal

    External hostname this discourse instance should respond to

  • force_saml_login | boolean

    Force SAML login (full screen, no local database logins)

  • image_pass | string

    Private registry password

  • image_user | string

    Private registry username

  • max_body_size | int

    Default: 20

    Max allowed body-size (for file uploads) in megabytes, set to 0 to disable limits

  • redis_host | string

    Redis host name / IP

  • s3_access_key_id | string

    The S3 access key ID to use. Sets DISCOURSE_S3_ACCESS_KEY_ID. Required if s3_enabled is true.

  • s3_backup_bucket | string

    The S3 bucket to use for backups. Sets DISCOURSE_S3_BACKUP_BUCKET. Also sets DISCOURSE_BACKUP_LOCATION=s3.

  • s3_bucket | string

    The S3 bucket to use. Sets DISCOURSE_S3_BUCKET. Required if s3_enabled is true.

  • s3_cdn_url | string

    The S3 Content Delivery Network URL. Sets DISCOURSE_S3_CDN_URL.

  • s3_enabled | boolean

    Store uploaded objects in an S3-compatible object storage service instead of a local directory. If true, sets DISCOURSE_USE_S3=true. Check https://meta.discourse.org/t/using-object-storage-for-uploads-s3-clones/148916 for more details.

  • s3_endpoint | string

    Default: https://s3.amazonaws.com

    The S3 endpoint to use. This may be a non-Amazon S3-compatible endpoint. Sets DISCOURSE_S3_ENDPOINT

  • s3_region | string

    The S3 region to use. Sets DISCOURSE_S3_REGION. Required if s3_enabled is true.

  • s3_secret_access_key | string

    The S3 secret key to use. Sets DISCOURSE_S3_SECRET_ACCESS_KEY. Required if s3_enabled is true.

  • saml_sync_groups | string

    Comma-separated list of groups to sync from SAML provider.

  • saml_target_url | string

    SAML authentication target url

  • smtp_address | string

    Default: 127.0.0.1

    Hostname / IP that should be used to send SMTP mail

  • smtp_authentication | string

    Default: none

    Type of smtp authentication to use

  • smtp_domain | string

    Default: foo.internal

    Hostname that email sent by this discourse should appear to come from

  • smtp_openssl_verify_mode | string

    Default: none

    Should discourse verify SSL certs

  • smtp_password | string

    Password to use when sending mail via SMTP

  • smtp_port | int

    Default: 587

    Port to use when connecting to SMTP server

  • smtp_username | string

    Username to use when sending mail via SMTP

  • throttle_level | string

    Default: none

    Throttle level - blocks excessive usage by ip. Valid values: none, permissive, strict

  • tls_secret_name | string

    The name of the K8s secret to be associated with the ingress resource.