add matrix-synapse bundle
This commit is contained in:
parent
29eeffbdc3
commit
8a26def21c
8 changed files with 267 additions and 6 deletions
85
bundles/matrix-synapse/files/homeserver.yaml
Normal file
85
bundles/matrix-synapse/files/homeserver.yaml
Normal file
|
@ -0,0 +1,85 @@
|
|||
server_name: "${server_name}"
|
||||
pid_file: "/var/run/matrix-synapse.pid"
|
||||
public_baseurl: https://${baseurl}/
|
||||
use_presence: true
|
||||
allow_public_rooms_without_auth: false
|
||||
allow_public_rooms_over_federation: false
|
||||
|
||||
federation_ip_range_blacklist:
|
||||
- '127.0.0.0/8'
|
||||
- '10.0.0.0/8'
|
||||
- '172.16.0.0/12'
|
||||
- '192.168.0.0/16'
|
||||
- '100.64.0.0/10'
|
||||
- '169.254.0.0/16'
|
||||
- '::1/128'
|
||||
- 'fe80::/64'
|
||||
- 'fc00::/7'
|
||||
|
||||
listeners:
|
||||
- port: 8009
|
||||
tls: false
|
||||
bind_addresses: ['::1']
|
||||
type: http
|
||||
x_forwarded: true
|
||||
|
||||
resources:
|
||||
- names: [metrics]
|
||||
compress: false
|
||||
|
||||
- port: 8008
|
||||
tls: false
|
||||
bind_addresses: ['::1']
|
||||
type: http
|
||||
x_forwarded: true
|
||||
|
||||
resources:
|
||||
- names: [client, federation]
|
||||
compress: false
|
||||
|
||||
admin_contact: '${admin_contact}'
|
||||
database:
|
||||
name: "psycopg2"
|
||||
args:
|
||||
user: "${database['user']}"
|
||||
database: "${database['database']}"
|
||||
password: "${database['password']}"
|
||||
host: "${database.get('host', 'localhost')}"
|
||||
cp_min: 5
|
||||
cp_max: 10
|
||||
|
||||
event_cache_size: 1M
|
||||
log_config: "/etc/matrix-synapse/log.yaml"
|
||||
|
||||
enable_media_repo: false
|
||||
enable_registration: false
|
||||
registration_shared_secret: "${registration_shared_secret}"
|
||||
allow_guest_access: false
|
||||
#default_identity_server: https://matrix.org
|
||||
#trusted_third_party_id_servers:
|
||||
# - matrix.org
|
||||
# - vector.im
|
||||
|
||||
enable_metrics: True
|
||||
|
||||
app_service_config_files:
|
||||
% for config in sorted(appservice_configs):
|
||||
- "${config}"
|
||||
% endfor
|
||||
|
||||
signing_key_path: "/etc/matrix-synapse/homeserver.signing.key"
|
||||
trusted_key_servers:
|
||||
% for server in sorted(trusted_key_servers):
|
||||
- server_name: "${server}"
|
||||
% endfor
|
||||
|
||||
password_config:
|
||||
enabled: true
|
||||
|
||||
email:
|
||||
enable_notifs: false
|
||||
notif_from: "Matrix <noreply@${server_name}"
|
||||
|
||||
enable_group_creation: true
|
||||
|
||||
report_stats: true
|
Loading…
Add table
Add a link
Reference in a new issue