40 lines
990 B
YAML
40 lines
990 B
YAML
version: 3.5.3-5
|
|
requires:
|
|
- name: postgres
|
|
- name: redis
|
|
- name: smtp
|
|
defaultConfig:
|
|
namespace: discourse
|
|
storage: 2Gi
|
|
adminEmail: '{{ .operator.email }}'
|
|
adminUsername: admin
|
|
siteName: Community
|
|
domain: discourse.{{ .cloud.domain }}
|
|
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.Hex 32 }}'
|
|
- 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
|