synapse_config/homeserver.yaml

69 lines
1.3 KiB
YAML

server_name: "zknt.org"
signing_key_path: "/data/zknt.org.signing.key"
registration_shared_secret: "hunter2"
macaroon_secret_key: "hunter2"
media_store_path: "/data/media_store"
public_baseurl: "https://matrix.zknt.org"
admin_contact: "mailto:a@b.c"
log_config: "/data/zknt.org.log.config"
presence:
enabled: false
enable_metrics: false
report_stats: false
max_upload_size: "50M"
trusted_key_servers:
- server_name: "matrix.org"
suppress_key_server_warning: true
listeners:
- port: 8008
tls: false
type: "http"
x_forward: true
bind_addresses:
- "0.0.0.0"
resources:
- names:
- "client"
- "federation"
compress: false
- port: 9093
bind_addresses:
- "0.0.0.0"
type: "http"
resources:
- names:
- "replication"
database:
name: "psycopg2"
txn_limit: 10000
args:
user: "synapse"
password: "hunter2"
database: "synapse"
host: "postgres"
port: 5432
cp_min: 5
cp_max: 10
email:
smtp_host: "172.27.32.80"
smtp_port: 25
enable_tls: false
notif_from: "Your Friendly %(app)s homeserver <a@b.c>"
app_name: "ZKNT"
enable_notifs: true
redis:
enabled: true
host: "redis"
port: 6379
send_federation: false
federation_sender_instances:
- "federation_sender"