43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
name: discourse
|
|
is: discourse
|
|
description: Discourse is a modern, open-source discussion platform designed for online communities and forums.
|
|
version: 3.5.3
|
|
icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/discourse.svg
|
|
requires:
|
|
- name: postgres
|
|
- name: redis
|
|
defaultConfig:
|
|
namespace: discourse
|
|
externalDnsDomain: "{{ .cloud.domain }}"
|
|
timezone: UTC
|
|
port: 3000
|
|
storage: 10Gi
|
|
adminEmail: "{{ .operator.email }}"
|
|
adminUsername: admin
|
|
siteName: "Community"
|
|
domain: discourse.{{ .cloud.domain }}
|
|
dbHostname: "{{ .apps.postgres.host }}"
|
|
dbPort: "{{ .apps.postgres.port }}"
|
|
dbUsername: discourse
|
|
dbName: discourse
|
|
redisHostname: "{{ .apps.redis.host }}"
|
|
tlsSecretName: wildcard-wild-cloud-tls
|
|
smtp:
|
|
enabled: false
|
|
host: "{{ .cloud.smtp.host }}"
|
|
port: "{{ .cloud.smtp.port }}"
|
|
user: "{{ .cloud.smtp.user }}"
|
|
from: "{{ .cloud.smtp.from }}"
|
|
tls: "{{ .cloud.smtp.tls }}"
|
|
startTls: "{{ .cloud.smtp.startTls }}"
|
|
defaultSecrets:
|
|
- key: adminPassword
|
|
- key: secretKeyBase
|
|
default: "{{ random.AlphaNum 64 }}"
|
|
- key: smtpPassword
|
|
- key: dbPassword
|
|
- key: dbUrl
|
|
default: "postgres://{{ .app.dbUsername }}:{{ .secrets.dbPassword }}@{{ .app.dbHostname }}:{{ .app.dbPort }}/{{ .app.dbName }}?sslmode=disable"
|
|
requiredSecrets:
|
|
- postgres.password
|
|
- redis.password |