Initial commit: Matrix deployment (Synapse, Element, Caddy, Postgres)
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
This commit is contained in:
commit
9799e83808
14 files changed
+629
No files matched your search
@@ -0,0 +1,49 @@
|
||||
# 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
|
||||
@@ -0,0 +1,39 @@
|
||||
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:
|
||||
# This is just here so we can leave `loggers` in the config regardless of whether
|
||||
# we configure other loggers below (avoid empty yaml dict error).
|
||||
_placeholder:
|
||||
level: "INFO"
|
||||
|
||||
|
||||
|
||||
synapse.storage.SQL:
|
||||
# beware: increasing this to DEBUG will make synapse log sensitive
|
||||
# information such as access tokens.
|
||||
level: INFO
|
||||
|
||||
|
||||
|
||||
|
||||
root:
|
||||
level: INFO
|
||||
|
||||
|
||||
handlers: [console]
|
||||
|
||||
|
||||
disable_existing_loggers: false
|
||||
Reference in new issue
Block a user