44 lines
1.3 KiB
YAML
44 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-1
|
|
icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/discourse.svg
|
|
requires:
|
|
- name: postgres
|
|
- name: redis
|
|
- name: smtp
|
|
defaultConfig:
|
|
namespace: discourse
|
|
externalDnsDomain: '{{ .cloud.domain }}'
|
|
storage: 10Gi
|
|
adminEmail: '{{ .operator.email }}'
|
|
adminUsername: admin
|
|
siteName: 'Community'
|
|
domain: discourse.{{ .cloud.domain }}
|
|
tlsSecretName: wildcard-wild-cloud-tls
|
|
db:
|
|
host: '{{ .apps.postgres.host }}'
|
|
port: '{{ .apps.postgres.port }}'
|
|
name: discourse
|
|
user: discourse
|
|
redis:
|
|
host: '{{ .apps.redis.host }}'
|
|
smtp:
|
|
enabled: false
|
|
host: '{{ .apps.smtp.host }}'
|
|
port: '{{ .apps.smtp.port }}'
|
|
user: '{{ .apps.smtp.user }}'
|
|
from: '{{ .apps.smtp.from }}'
|
|
tls: '{{ .apps.smtp.tls }}'
|
|
startTls: '{{ .apps.smtp.startTls }}'
|
|
defaultSecrets:
|
|
- key: adminPassword
|
|
- key: secretKeyBase
|
|
default: "{{ random.AlphaNum 64 }}"
|
|
- key: smtpPassword
|
|
- key: dbPassword
|
|
- key: dbUrl
|
|
default: "postgres://{{ .app.db.user }}:{{ .secrets.dbPassword }}@{{ .app.db.host }}:{{ .app.db.port }}/{{ .app.db.name }}?sslmode=disable"
|
|
requiredSecrets:
|
|
- postgres.password
|
|
- redis.password |