matrix/images/matrix-synapse/root/opt/synapse/templates/homeserver.yml

42 lines
978 B
YAML

server_name: "${SYNAPSE_SERVER_NAME}"
public_baseurl: '${SYNAPSE_PUBLIC_URL}'
listeners:
- port: 8008
tls: false
type: http
x_forwarded: true
bind_addresses: [${SYNAPSE_LISTEN_ADDR}]
resources:
- names: [client, federation]
compress: false
database:
name: psycopg2
args:
database: '${SYNAPSE_PG_DB}'
host: '${SYNAPSE_PG_HOST}'
port: ${SYNAPSE_PG_PORT}
user: '${SYNAPSE_PG_USER}'
password: '${SYNAPSE_PG_PASSWORD}'
web_client: False
soft_file_limit: 0
filter_timeline_limit: 5000
log_config: /opt/synapse/templates/logging.conf
media_store_path: /data/media_store
uploads_path: /data/uploads
registration_shared_secret: "${SYNAPSE_SHARED_SECRET}"
macaroon_secret_key: "${SYNAPSE_MACAROON_SECRET}"
form_secret: "${SYNAPSE_FORM_SECERT}"
signing_key_path: "/data/conf/signing.key"
report_stats: false
trusted_key_servers:
- server_name: "matrix.org"
suppress_key_server_warning: true
serve_server_wellknown: true