Add Matrix.
This commit is contained in:
66
matrix/configmap.yaml
Normal file
66
matrix/configmap.yaml
Normal file
@@ -0,0 +1,66 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: matrix-config
|
||||
data:
|
||||
homeserver.yaml: |
|
||||
server_name: "{{ .serverName }}"
|
||||
public_baseurl: https://{{ .domain }}
|
||||
|
||||
listeners:
|
||||
- port: {{ .port }}
|
||||
tls: false
|
||||
type: http
|
||||
x_forwarded: true
|
||||
bind_addresses: ['::']
|
||||
resources:
|
||||
- names: [client, federation]
|
||||
compress: false
|
||||
|
||||
database:
|
||||
name: psycopg2
|
||||
args:
|
||||
user: {{ .dbUsername }}
|
||||
password: ${DB_PASSWORD}
|
||||
database: {{ .dbName }}
|
||||
host: {{ .dbHostname }}
|
||||
port: 5432
|
||||
cp_min: 5
|
||||
cp_max: 10
|
||||
|
||||
redis:
|
||||
enabled: true
|
||||
host: {{ .redisHostname }}
|
||||
port: 6379
|
||||
password: ${REDIS_PASSWORD}
|
||||
|
||||
media_store_path: /data/media_store
|
||||
uploads_path: /data/uploads
|
||||
|
||||
max_upload_size: 100M
|
||||
|
||||
enable_registration: {{ .enableRegistration }}
|
||||
registration_shared_secret: "${REGISTRATION_SHARED_SECRET}"
|
||||
|
||||
macaroon_secret_key: "${MACAROON_SECRET_KEY}"
|
||||
form_secret: "${FORM_SECRET}"
|
||||
|
||||
signing_key_path: /data/keys/signing.key
|
||||
|
||||
trusted_key_servers:
|
||||
- server_name: "matrix.org"
|
||||
|
||||
email:
|
||||
smtp_host: "{{ .smtp.host }}"
|
||||
smtp_port: {{ .smtp.port }}
|
||||
smtp_user: "{{ .smtp.user }}"
|
||||
smtp_pass: "${SMTP_PASSWORD}"
|
||||
require_transport_security: {{ .smtp.requireTls }}
|
||||
notif_from: "{{ .smtp.from }}"
|
||||
app_name: Matrix
|
||||
|
||||
report_stats: false
|
||||
|
||||
enable_metrics: true
|
||||
|
||||
suppress_key_server_warning: true
|
||||
Reference in New Issue
Block a user