ungleich-k8s/apps/fnux-playground/matrix.fnux-playground.yaml

53 lines
1.3 KiB
YAML

# TODO: set redis & PGSQL password, investigate workers.
# Synapse configuration.
config:
logLevel: INFO
# Synapse persistence.
persistence:
enabled: true
storageClass: "rook-cephfs"
accessMode: ReadWriteMany
size: 10Gi
# PGSQL persistence.
postgresql:
enabled: true
persistence:
storageClass: "rook-cephfs"
size: 16Gi
# First/initial startup is slow! The synapse pod get killed before the database
# is fully initialied if we don't explicitely wait.
synapse:
livenessProbe:
httpGet:
path: /health
port: http
initialDelaySeconds: 180
readinessProbe:
httpGet:
path: /health
port: http
initialDelaySeconds: 180
# Serve /.well-known URIs, making federation possible without adding
# SRV-records to DNS.
wellknown:
enabled: true
# Lighttpd does not bind to v6 by default - which doesn't play well in a
# v6-only cluster!
useIpv6: true
# Data served on .well-known/matrix/server.
# See https://matrix.org/docs/spec/server_server/latest#get-well-known-matrix-server
server:
m.server: "matrix.fnux-playground.svc.c1.k8s.oo:443"
# Data served on .well-known/matrix/client.
# See https://matrix.org/docs/spec/client_server/latest#get-well-known-matrix-client
client:
m.homeserver:
base_url: "https://matrix.ungleich.ch"