Files
matrix-synapse-quadlets/synapse-configmap.yml
T
2025-04-16 23:01:07 +02:00

50 lines
1.4 KiB
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: synapse-config
data:
homeserver.yaml: |
server_name: "matrix.k0rb4k.net"
pid_file: /data/homeserver.pid
listeners:
- port: 8008
tls: false
type: http
x_forwarded: true
resources:
- names: [client, federation]
compress: false
database:
name: psycopg2
args:
user: synapse
password: changeme
dbname: synapse
host: postgres
cp_min: 5
cp_max: 10
log_config: "/data/matrix.k0rb4k.net.log.config"
media_store_path: /data/media_store
registration_shared_secret: "8bn6seIG;1#0p9d~Y~d17*~mehlG-@DDJ~W8Yg9r4B,77*D;Uy"
report_stats: true
macaroon_secret_key: "@.fx9y+rL_JSE0;7PPYrBuI&,sa;mXHLeFywLgWlDSg;3faNCx"
form_secret: "qu6DRGb.1H*Pe:tE4r+E~ZvND.UKiIusz~TwOMz,TLVUpX#9vi"
signing_key_path: "/data/matrix.k0rb4k.net.signing.key"
trusted_key_servers:
- server_name: "matrix.org"
# Caddyfile: |
# http://localhost {
# reverse_proxy /_matrix/* localhost:8008
# reverse_proxy /_synapse/client/* localhost:8008
# }
# http://matrix.k0rb4k.net {
# reverse_proxy /_matrix/* localhost:8008
# reverse_proxy /_synapse/client/* localhost:8008
# }
# http://k0rb4k.net:8448 {
# reverse_proxy /_matrix/* localhost:8008
# }