Docker-Compose-Setup mit Synapse, Element Web, Synapse-Admin, Caddy als Reverse Proxy und Postgres. Secrets und Laufzeitdaten sind via .gitignore ausgeschlossen; Beispiel-Configs mit Platzhaltern liegen als *.example bei. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y31cBx4B4b56LmzTA9wx76
50 lines
1.5 KiB
Plaintext
50 lines
1.5 KiB
Plaintext
# Configuration file for Synapse.
|
|
#
|
|
# This is a YAML file: see [1] for a quick introduction. Note in particular
|
|
# that *indentation is important*: all the elements of a list or dictionary
|
|
# should have the same indentation.
|
|
#
|
|
# [1] https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html
|
|
#
|
|
# For more information on how to configure Synapse, including a complete accounting of
|
|
# each option, go to docs/usage/configuration/config_documentation.md or
|
|
# https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html
|
|
server_name: "matrix.greif.life-maps.com"
|
|
pid_file: /data/homeserver.pid
|
|
listeners:
|
|
- port: 8008
|
|
resources:
|
|
- compress: false
|
|
names:
|
|
- client
|
|
- federation
|
|
tls: false
|
|
type: http
|
|
x_forwarded: true
|
|
database:
|
|
name: psycopg2
|
|
args:
|
|
user: matrix
|
|
password: CHANGE_ME_DB_PASSWORD
|
|
database: synapse
|
|
host: db
|
|
cp_min: 5
|
|
cp_max: 10
|
|
log_config: "/data/matrix.greif.life-maps.com.log.config"
|
|
media_store_path: /data/media_store
|
|
registration_shared_secret: "CHANGE_ME_REGISTRATION_SHARED_SECRET"
|
|
report_stats: false
|
|
macaroon_secret_key: "CHANGE_ME_MACAROON_SECRET_KEY"
|
|
form_secret: "CHANGE_ME_FORM_SECRET"
|
|
signing_key_path: "/data/matrix.greif.life-maps.com.signing.key"
|
|
trusted_key_servers:
|
|
- server_name: "matrix.org"
|
|
|
|
|
|
# vim:ft=yaml
|
|
enable_registration: false
|
|
federation_domain_whitelist: []
|
|
allow_cors: true
|
|
max_upload_size: 2147483648 # 2 GB
|
|
max_request_size: 2147483648 # 2 GB
|