original templated files
This commit is contained in:
37
roles/matrix-synapse/templates/homeserver.yaml.j2
Normal file
37
roles/matrix-synapse/templates/homeserver.yaml.j2
Normal file
@@ -0,0 +1,37 @@
|
||||
server_name: "{{ matrix_domain }}"
|
||||
enable_metrics: false
|
||||
report_stats: false
|
||||
|
||||
listeners:
|
||||
- port: 8008
|
||||
type: http
|
||||
tls: false
|
||||
resources:
|
||||
- names: [client, federation]
|
||||
compress: true
|
||||
|
||||
database:
|
||||
name: psycopg2
|
||||
args:
|
||||
user: "{{ db_user }}"
|
||||
password: "{{ db_pass }}"
|
||||
database: "{{ db_name }}"
|
||||
host: "localhost"
|
||||
port: 5432
|
||||
|
||||
registration_shared_secret: "{{ synapse_registration_secret }}"
|
||||
tls_certificate_path: "/data/tls.crt"
|
||||
private_key_path: "/data/tls.key"
|
||||
|
||||
federation_domain_whitelist:
|
||||
- matrix.org
|
||||
- gitter.im
|
||||
|
||||
# Optional: Rate limits
|
||||
rc_flood_control:
|
||||
interval: 1000
|
||||
burst_count: 3
|
||||
|
||||
# Enable password login
|
||||
enable_registration: true
|
||||
enable_registration_without_verification: true
|
||||
Reference in New Issue
Block a user