Files
Paul Payne ca9bdf823b Fix discourse random.Hex and add memcached port config
- discourse: replace random.Hex with random.AlphaNum (both slots)
- memcached: add port default config (needed by openproject)
2026-10-23 14:23:56 +00:00

40 lines
997 B
YAML

version: 2026.10.0
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.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