K3s-cluster/synapse/configmap.yaml

63 lines
1.5 KiB
YAML
Raw Normal View History

apiVersion: v1
kind: ConfigMap
metadata:
name: synapse-config
namespace: synapse
data:
homeserver.yaml: |
enable_metrics: true
report_stats: false
server_name: "matrix.beta.halia.dev"
pid_file: "/data/homeserver.pid"
media_store_path: /data/media_store
trusted_key_servers:
- server_name: "matrix.org"
listeners:
- port: 8008
tls: false
type: http
x_forwarded: true
resources:
- names: [client, federation]
compress: false
- port: 9009
tls: false
type: metrics
bind_addresses: ["0.0.0.0"]
database:
name: psycopg2
args:
user: synapse
password: aberation
host: localhost
port: 5432
cp_min: 5
cp_max: 10
keepalives_idle: 10
keepalives_interval: 10
keepalives_count: 3
enable_registration: false
log_config: /data/matrix.beta.halia.dev.log.config
registration_shared_secret: "REDACTED"
form_secret: "REDACTED"
macaroon_secret_key: "REDACTED"
signing_key_path: /data/matrix.beta.halia.dev.signing.key
matrix.beta.halia.dev.log.config: |
version: 1
formatters:
precise:
format: '%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(request)s - %(message)s'
handlers:
console:
class: logging.StreamHandler
formatter: precise
loggers:
synapse.storage.SQL:
level: INFO
root:
level: INFO
handlersr: [console]
disable_existing_loggers: false