Discourse app fixes.
This commit is contained in:
@@ -11,33 +11,21 @@ data:
|
|||||||
DISCOURSE_SITE_NAME: "{{ .apps.discourse.siteName }}"
|
DISCOURSE_SITE_NAME: "{{ .apps.discourse.siteName }}"
|
||||||
DISCOURSE_USERNAME: "{{ .apps.discourse.adminUsername }}"
|
DISCOURSE_USERNAME: "{{ .apps.discourse.adminUsername }}"
|
||||||
DISCOURSE_EMAIL: "{{ .apps.discourse.adminEmail }}"
|
DISCOURSE_EMAIL: "{{ .apps.discourse.adminEmail }}"
|
||||||
|
|
||||||
DISCOURSE_REDIS_HOST: "{{ .apps.discourse.redisHostname }}"
|
DISCOURSE_REDIS_HOST: "{{ .apps.discourse.redisHostname }}"
|
||||||
DISCOURSE_REDIS_PORT_NUMBER: "6379"
|
DISCOURSE_REDIS_PORT_NUMBER: "6379"
|
||||||
|
|
||||||
DISCOURSE_DATABASE_HOST: "{{ .apps.discourse.dbHostname }}"
|
DISCOURSE_DATABASE_HOST: "{{ .apps.discourse.dbHostname }}"
|
||||||
DISCOURSE_DATABASE_PORT_NUMBER: "5432"
|
DISCOURSE_DATABASE_PORT_NUMBER: "5432"
|
||||||
DISCOURSE_DATABASE_NAME: "{{ .apps.discourse.dbName }}"
|
DISCOURSE_DATABASE_NAME: "{{ .apps.discourse.dbName }}"
|
||||||
DISCOURSE_DATABASE_USER: "{{ .apps.discourse.dbUsername }}"
|
DISCOURSE_DATABASE_USER: "{{ .apps.discourse.dbUsername }}"
|
||||||
|
|
||||||
# DISCOURSE_SMTP_ADDRESS: "{{ .apps.discourse.smtp.host }}"
|
|
||||||
# DISCOURSE_SMTP_PORT: "{{ .apps.discourse.smtp.port }}"
|
|
||||||
# DISCOURSE_SMTP_USER_NAME: "{{ .apps.discourse.smtp.user }}"
|
|
||||||
# DISCOURSE_SMTP_ENABLE_START_TLS: "{{ .apps.discourse.smtp.startTls }}"
|
|
||||||
# DISCOURSE_SMTP_AUTHENTICATION: "login"
|
|
||||||
|
|
||||||
# Bitnami specific environment variables (diverges from the original)
|
|
||||||
# https://techdocs.broadcom.com/us/en/vmware-tanzu/bitnami-secure-images/bitnami-secure-images/services/bsi-app-doc/apps-containers-discourse-index.html
|
|
||||||
DISCOURSE_SMTP_HOST: "{{ .apps.discourse.smtp.host }}"
|
DISCOURSE_SMTP_HOST: "{{ .apps.discourse.smtp.host }}"
|
||||||
DISCOURSE_SMTP_PORT_NUMBER: "{{ .apps.discourse.smtp.port }}"
|
DISCOURSE_SMTP_PORT: "{{ .apps.discourse.smtp.port }}"
|
||||||
DISCOURSE_SMTP_USER: "{{ .apps.discourse.smtp.user }}"
|
DISCOURSE_SMTP_USER: "{{ .apps.discourse.smtp.user }}"
|
||||||
DISCOURSE_SMTP_ENABLE_START_TLS: "{{ .apps.discourse.smtp.startTls }}"
|
|
||||||
DISCOURSE_SMTP_AUTH: "login"
|
|
||||||
DISCOURSE_SMTP_PROTOCOL: "tls"
|
DISCOURSE_SMTP_PROTOCOL: "tls"
|
||||||
|
DISCOURSE_SMTP_AUTH: "login"
|
||||||
|
|
||||||
DISCOURSE_PRECOMPILE_ASSETS: "false"
|
# DISCOURSE_PRECOMPILE_ASSETS: "false"
|
||||||
|
# DISCOURSE_SKIP_INSTALL: "no"
|
||||||
# SMTP_HOST: "{{ .apps.discourse.smtp.host }}"
|
# DISCOURSE_SKIP_BOOTSTRAP: "yes"
|
||||||
# SMTP_PORT: "{{ .apps.discourse.smtp.port }}"
|
|
||||||
# SMTP_USER_NAME: "{{ .apps.discourse.smtp.user }}"
|
|
||||||
# SMTP_TLS: "{{ .apps.discourse.smtp.tls }}"
|
|
||||||
# SMTP_ENABLE_START_TLS: "{{ .apps.discourse.smtp.startTls }}"
|
|
||||||
# SMTP_AUTHENTICATION: "login"
|
|
||||||
|
@@ -37,7 +37,7 @@ spec:
|
|||||||
initContainers:
|
initContainers:
|
||||||
containers:
|
containers:
|
||||||
- name: discourse
|
- name: discourse
|
||||||
image: { { .apps.discourse.image } }
|
image: docker.io/bitnami/discourse:3.4.7-debian-12-r0
|
||||||
imagePullPolicy: "IfNotPresent"
|
imagePullPolicy: "IfNotPresent"
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
@@ -85,7 +85,7 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: discourse-secrets
|
name: discourse-secrets
|
||||||
key: apps.discourse.redisPassword
|
key: apps.redis.password
|
||||||
- name: DISCOURSE_SECRET_KEY_BASE
|
- name: DISCOURSE_SECRET_KEY_BASE
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
@@ -139,7 +139,7 @@ spec:
|
|||||||
mountPath: /bitnami/discourse
|
mountPath: /bitnami/discourse
|
||||||
subPath: discourse
|
subPath: discourse
|
||||||
- name: sidekiq
|
- name: sidekiq
|
||||||
image: { { .apps.discourse.sidekiqImage } }
|
image: docker.io/bitnami/discourse:3.4.7-debian-12-r0
|
||||||
imagePullPolicy: "IfNotPresent"
|
imagePullPolicy: "IfNotPresent"
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
@@ -182,7 +182,7 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: discourse-secrets
|
name: discourse-secrets
|
||||||
key: apps.discourse.redisPassword
|
key: apps.redis.password
|
||||||
- name: DISCOURSE_SECRET_KEY_BASE
|
- name: DISCOURSE_SECRET_KEY_BASE
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
@@ -6,8 +6,6 @@ requires:
|
|||||||
- name: postgres
|
- name: postgres
|
||||||
- name: redis
|
- name: redis
|
||||||
defaultConfig:
|
defaultConfig:
|
||||||
image: docker.io/bitnami/discourse:3.4.7-debian-12-r0
|
|
||||||
sidekiqImage: docker.io/bitnami/discourse:3.4.7-debian-12-r0
|
|
||||||
timezone: UTC
|
timezone: UTC
|
||||||
port: 8080
|
port: 8080
|
||||||
storage: 10Gi
|
storage: 10Gi
|
||||||
@@ -32,7 +30,7 @@ requiredSecrets:
|
|||||||
- apps.discourse.adminPassword
|
- apps.discourse.adminPassword
|
||||||
- apps.discourse.dbPassword
|
- apps.discourse.dbPassword
|
||||||
- apps.discourse.dbUrl
|
- apps.discourse.dbUrl
|
||||||
- apps.discourse.redisPassword
|
- apps.redis.password
|
||||||
- apps.discourse.secretKeyBase
|
- apps.discourse.secretKeyBase
|
||||||
- apps.discourse.smtpPassword
|
- apps.discourse.smtpPassword
|
||||||
- apps.postgres.password
|
- apps.postgres.password
|
Reference in New Issue
Block a user